[PATCH] D65572: Fix static linking failure with --unwindlib=libunwind
Khem Raj via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 4 12:13:51 PDT 2019
raj.khem added a comment.
In D65572#1610169 <https://reviews.llvm.org/D65572#1610169>, @rengolin wrote:
> This is a tricky one which may vary depending on the libraries available on different systems. Which toolchain is this? Can you add more context?
@rengolin this is when building linux system with glibc ( clang+clang-runtime which means it uses llvm libunwind too) it works fine with -lunwindlib=libgcc but llvm libunwind does have calls into libpthread and uses dlopen as well. I did not build non-linux systems so can not say if
its same issue on them too but on linux its the case. I am building Yocto/OE using clang as cross compiler.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65572/new/
https://reviews.llvm.org/D65572
More information about the cfe-commits
mailing list