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.