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

Asiri Rathnayake via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 27 12:09:31 PDT 2016


rmaprath added a comment.

In https://reviews.llvm.org/D24119#554234, @mgorny wrote:

> 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.


Doesn't `-DLIBCXXABI_USE_LLVM_UNWINDER=ON` make it possible to build without `libgcc_s`? Or is this something else?


Repository:
  rL LLVM

https://reviews.llvm.org/D24119





More information about the cfe-commits mailing list