[PATCH] D127528: [Clang] Let the linker choose shared or static libunwind unless specified

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 10 12:24:18 PDT 2022


phosek added a comment.

We ran into this in the Fuchsia toolchain where we only ship `libunwind.a` on Linux, but Clang is forcing the use of `libunwind.so` unless you explicitly set `-shared-libgcc`. With this change, the linker will choose whichever library is available by default.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127528/new/

https://reviews.llvm.org/D127528



More information about the cfe-commits mailing list