mehdi_amini added inline comments.

================
Comment at: lib/CMakeLists.txt:155
+        # We can't use the "-reexported_symbols_list" when we build the
+        # new/delete operators as part of the dylib: the linker would fail.
+        set(OSX_RE_EXPORT_LINE 
"-Wl,-reexport_library,${CMAKE_OSX_SYSROOT}/usr/lib/libc++abi.dylib")
----------------
EricWF wrote:
> Please explain that the linker will fail because `libc++abi` also provides 
> those definitions.
Mmmm, actually no, the linker fails because libc++ provide those definition.
The linker complains because we can't ask to export the definitions from 
libc++abi while we already have some definitions!


https://reviews.llvm.org/D31272



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to