[Bug bootstrap/96240] Error in building gcc-11 with --disable-shared
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 9 17:32:10 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96240
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libstdc++ |bootstrap
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Tom Tromey from comment #2)
> Sigh. Un-duping this, I assumed the component was correct.
> This isn't about libcc1 at all, it's about libstdc++.
> Sorry about that.
Making all in c++17
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:561: libcc1.la]
No it is about libcc1 when --disable-shared is passed. Just it is linking
against libstdc++ where the error is from. It might be a top level option that
needs to similar to libjit.
More information about the Gcc-bugs
mailing list