[Bug bootstrap/96240] Error in building gcc-11 with --disable-shared

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96240

Tom Tromey  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|UNCONFIRMED |RESOLVED

--- Comment #4 from Tom Tromey  ---
> 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.

Alright, in that case it really is a dup.

*** This bug has been marked as a duplicate of bug 67128 ***

[Bug bootstrap/96240] Error in building gcc-11 with --disable-shared

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96240

Andrew Pinski  changed:

   What|Removed |Added

  Component|libstdc++   |bootstrap

--- Comment #3 from Andrew Pinski  ---
(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.