--- - branch: MAIN date: Wed Jun 6 12:02:43 UTC 2018 files: - new: '1.11' old: '1.10' path: src/external/bsd/libc++/lib/Makefile pathrev: src/external/bsd/libc++/lib/Makefile@1.11 type: modified id: 20180606T120243Z.33807856672918a2528b40608c914ef7bf11bb62 log: | Don't pass -z defs to libc++ with MKSANITIZER=yes Sanitizers are conflicting with this option: When linking shared libraries, the AddressSanitizer run-time is not linked, so -Wl,-z,defs may cause link errors (t use it with AddressSanitizer). https://clang.llvm.org/docs/AddressSanitizer.html When linking shared libraries, the MemorySanitizer run-time is not linked, so -Wl,-z,defs may cause link errors (t use it with MemorySanitizer). https://clang.llvm.org/docs/MemorySanitizer.html Solution suggested by Root cause of breaking libc++ investigated by module: src subject: 'CVS commit: src/external/bsd/libc++/lib' unixtime: '1528286563' user: kamil