[PATCH] D24119: [libc++] add linker option "-Wl, -z, defs" in standalone build

Michał Górny via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 27 11:56:09 PDT 2016


mgorny reopened this revision.
mgorny added a comment.
This revision is now accepted and ready to land.

I'm starting to regret that I've committed this. It breaks horribly any pure-LLVM build, i.e. without linking to libgcc_s. It seems that the build system is completely unprepared to link to compiler-rt or libunwind when linking the shared library, and with -DLIBCXX_HAS_GCC_S_LIB=OFF, it fails due to a lot of missing symbols. I am going to revert this until we get the build system working completely.


Repository:
  rL LLVM

https://reviews.llvm.org/D24119





More information about the cfe-commits mailing list