From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB2AA3858411; Sun, 9 Jan 2022 17:32:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB2AA3858411 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/96240] Error in building gcc-11 with --disable-shared Date: Sun, 09 Jan 2022 17:32:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2022 17:32:11 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96240 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 t= hat needs to similar to libjit.=