[PATCH] D70416: [Driver] Make -static-libgcc imply static libunwind

Sterling Augustine via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 19 09:11:17 PST 2019


saugustine added a comment.

In D70416#1750978 <https://reviews.llvm.org/D70416#1750978>, @joerg wrote:

> This is normally done by using `-Bstatic`/`-Bdynamic` around the library. See `tools::addOpenMPRuntime`.


Historically, the unwind library is a little different. Gcc uses -llibgcc_eh for static links (which is only resolved by libgcc_eh.a) and libgcc_s.so for dynamic links (which is only resolved by libgcc_s.so, which in turn pulls in libgcc.a for certain things).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70416





More information about the cfe-commits mailing list