Clang can't use libgcc from a gcc compiled with --disable-shared #32805
Labels
bugzilla
Issues migrated from bugzilla
clang:driver
'clang' and 'clang++' user-facing binaries. Not 'clang-cl'
Extended Description
In a regular gcc installation there is libgcc.a, libgcc_s.so and
libgcc_eh.a.
In a regular link libgcc.a and libgcc_s.so are used.
In a static link libgcc.a and libgcc_eh.a are used.
But when gcc is built with --disable-shared, there is no
libgcc_eh.a. Everything is in libgcc.a.
This means that clang has to know if the gcc installation is static or
not. Currently it assumes it is not.
The text was updated successfully, but these errors were encountered: