From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DD87F385781A; Sat, 24 Jul 2021 22:23:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD87F385781A From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/87858] Building old multilib bootstrap GCC: stage1 32-bit libstdc++ fails to build after building 64-bit libstdc++ Date: Sat, 24 Jul 2021 22:23:00 +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: unknown 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: resolution bug_status 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: Sat, 24 Jul 2021 22:23:01 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87858 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WONTFIX |--- Status|RESOLVED |UNCONFIRMED --- Comment #7 from Andrew Pinski --- (In reply to Matthew Krupcale from comment #6) > (In reply to Andrew Pinski from comment #5) > > Best way to support this really is to build a 4.8 cross compiler and th= en > > build a canandian cross GCC 4.8 and then bootstrap a 4.8.x using that n= ewly > > build canandian cross compiler. >=20 > I'm not sure I follow exactly because I wasn't trying to build a cross > compiler, although I suppose once you have a GCC 4.8 compiler built (cross > or not), you wouldn't have a problem building 4.8.x with it in theory. But > the problem is building that initial GCC 4.8 (cross or not) with the newer > GCC version. You misunderstood. Building a cross compiler and a canadian cross is so the new 4.8 compiler is NOT exposing to the bootstrap issue you mentioned. 4.8 and 8.x are no longer maintained so fixing those are out of the questio= n. stage1 of gcc does not require the LD_LIBRARY_PATH to be set at all and sta= ge 2 and 3 will use -static-libstdc++. Of course LD_LIBRARY_PATH shouldn't be needed these days.=