public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "edgargar at unam dot mx" <gcc-bugzilla@gcc.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, 18 Jun 2022 23:13:20 +0000	[thread overview]
Message-ID: <bug-87858-4-7n1JvcHDpJ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-87858-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87858

Ed Gar <edgargar at unam dot mx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |edgargar at unam dot mx

--- Comment #9 from Ed Gar <edgargar at unam dot mx> ---
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 Fedora 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=/usr/local/gcc82 --program-suffix=82
--enable-languages=c,c++,fortran --disable-multilib --disable-libstdcxx-pch
--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/libgomp'
makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000  -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=CC   --mode=compile /root/build-gcc-8.2/./gcc/xgcc
-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=initial-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/./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 -pthread
-ftls-model=initial-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/cc1)

  parent reply	other threads:[~2022-06-18 23:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-87858-4@http.gcc.gnu.org/bugzilla/>
2020-12-21 18:36 ` mkrupcale at matthewkrupcale dot com
2021-04-01 13:48 ` libor.bukata at oracle dot com
2021-07-24 20:31 ` pinskia at gcc dot gnu.org
2021-07-24 22:07 ` mkrupcale at matthewkrupcale dot com
2021-07-24 22:23 ` pinskia at gcc dot gnu.org
2021-07-24 23:18 ` mkrupcale at matthewkrupcale dot com
2022-06-18 23:13 ` edgargar at unam dot mx [this message]
2023-05-29 17:59 ` mkrupcale at matthewkrupcale dot com
2023-05-29 18:00 ` mkrupcale at matthewkrupcale dot com
2023-05-29 18:10 ` mkrupcale at matthewkrupcale dot com
2023-12-30 11:57 ` xry111 at gcc dot gnu.org
2023-12-30 12:02 ` xry111 at gcc dot gnu.org
2023-12-30 19:32 ` eyalroz1 at gmx dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-87858-4-7n1JvcHDpJ@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).