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)