Changeset 71708 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Apr 6, 2018 3:11:22 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 121807
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
r71694 r71708 68 68 supc++ \ 69 69 gcc_eh 70 71 # The following is for ensuring binary compatibility for old Linux guests. 72 # This has to be in LIBS, so as to be linked in after supc++ and gcc_eh, which 73 # depend on the symbols it provides. Static supc++ and gcc_eh on at least 74 # Ubuntu 17.04 contain references to __sprintf_chk and __stack_chk_fail. 75 # Furthermore, they contain references to memcpy, which needs to be resolved 76 # to memcpy@GLIBC_2.2.5, which we solve in a not-very-satisfactory way with a 77 # wrapper. 78 ifeq ($(KBUILD_TARGET),linux) 70 ifdef VBOX_WITH_OLD_GLIBC_SUPPORT 71 # This has to be in LIBS, so as to be linked in after supc++ and gcc_eh, which 72 # depend on the symbols it provides. Static supc++ and gcc_eh on at least 73 # Ubuntu 17.04 contain references to __sprintf_chk and __stack_chk_fail. 74 # Furthermore, they contain references to memcpy, which needs to be resolved 75 # to memcpy@GLIBC_2.2.5, which we solve in a not-very-satisfactory way with a 76 # wrapper. 77 ifeq ($(KBUILD_TARGET),linux) 79 78 VBoxClient_LIBS += \ 80 79 $(PATH_ROOT)/src/VBox/Additions/x11/VBoxClient/chk_stubs.c 81 80 VBoxClient_LDFLAGS.amd64 += \ 82 81 -Wl,--wrap=memcpy 82 endif 83 83 endif 84 84
Note:
See TracChangeset
for help on using the changeset viewer.