From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 23B393856273; Sat, 18 Jun 2022 23:13:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 23B393856273 From: "edgargar at unam dot mx" 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, 18 Jun 2022 23:13:20 +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: edgargar at unam dot mx 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: cc 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, 18 Jun 2022 23:13:21 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D87858 Ed Gar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |edgargar at unam dot mx --- Comment #9 from Ed Gar --- I confirm that the issue persists even when using either patch suggested by Matthew Krupcale. I am tried to compile gcc 8.2.0 using gcc 11.3.1 on Fedor= a 34 following the command: cd gcc-8.2.0 contrib/download_prerequisites patch -b < makefile.patch cd ../build-gcc-82 ../gcc-8.2.0/configure --prefix=3D/usr/local/gcc82 --program-suffix=3D82 --enable-languages=3Dc,c++,fortran --disable-multilib --disable-libstdcxx-p= ch --with-system-zlib make where makefile.patch is either of the proposed patches. After a while the building process produces the following error: make[5]: Entering directory '/root/build-gcc-8.2/x86_64-pc-linux-gnu/libgom= p' makeinfo --split-size=3D5000000 --split-size=3D5000000 --split-size=3D50000= 00 -I ../../../gcc-8.2.0/libgomp/../gcc/doc/include -I ../../../gcc-8.2.0/libgomp= -o libgomp.info ../../../gcc-8.2.0/libgomp/libgomp.texi /bin/sh ./libtool --tag=3DCC --mode=3Dcompile /root/build-gcc-8.2/./gcc/x= gcc -B/root/build-gcc-8.2/./gcc/ -B/usr/local/gcc82/x86_64-pc-linux-gnu/bin/ -B/usr/local/gcc82/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/gcc82/x86_64-pc-linux-gnu/include -isystem /usr/local/gcc82/x86_64-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-8.2.0/libgomp -I../../../gcc-8.2.0/libgomp/config/linux/x86 -I../../../gcc-8.2.0/libgomp/config/linux -I../../../gcc-8.2.0/libgomp/config/posix -I../../../gcc-8.2.0/libgomp -I../../../gcc-8.2.0/libgomp/../include -Wall -Werror -ftls-model=3Dinitia= l-exec -Wc,-pthread -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c -o alloc.lo ../../../gcc-8.2.0/libgomp/alloc.c libtool: compile: /root/build-gcc-8.2/./gcc/xgcc -B/root/build-gcc-8.2/./g= cc/ -B/usr/local/gcc82/x86_64-pc-linux-gnu/bin/ -B/usr/local/gcc82/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/gcc82/x86_64-pc-linux-gnu/include -isystem /usr/local/gcc82/x86_64-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-8.2.0/libgomp -I../../../gcc-8.2.0/libgomp/config/linux/x86 -I../../../gcc-8.2.0/libgomp/config/linux -I../../../gcc-8.2.0/libgomp/config/posix -I../../../gcc-8.2.0/libgomp -I../../../gcc-8.2.0/libgomp/../include -Wall -Werror -pthread -ftls-model=3Dinitial-exec -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo = -c ../../../gcc-8.2.0/libgomp/alloc.c -fPIC -DPIC -o .libs/alloc.o /root/build-gcc-8.2/./gcc/cc1: /root/build-gcc-8.2/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so= .6: version `GLIBCXX_3.4.29' not found (required by /root/build-gcc-8.2/./gcc/c= c1)=