Changeset 71694 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Apr 6, 2018 8:27:41 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
r70936 r71694 68 68 supc++ \ 69 69 gcc_eh 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) 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) 78 79 VBoxClient_LIBS += \ 79 80 $(PATH_ROOT)/src/VBox/Additions/x11/VBoxClient/chk_stubs.c 80 81 VBoxClient_LDFLAGS.amd64 += \ 81 82 -Wl,--wrap=memcpy 82 endif83 83 endif 84 84
Note:
See TracChangeset
for help on using the changeset viewer.