Since a longer time bootstrap is broken for powerpc-unknown-linux-gnu, 32-bit at least. The interesting condition is, it only fails when the bootstrapping compiler is > 4.2.x, iow. 4.3.x and 4.4.x (Well 4.4 I did not confirm myself)
The failure started with r132589, this commit itself does not contain a fault per se. It is just uncovering the issue. The failure manifests itself as: gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o \ main.o tree-browser.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lmpfr -lgmp -lmpfr -lgmp /usr/lib/gcc/ppc64-redhat-linux/4.3.0/../../../../lib/crt1.o: In function `_start': (.text+0x20): relocation truncated to fit: R_PPC_REL24 against symbol `__libc_start_main@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/ppc64-redhat-linux/4.3.0/../../../../lib/crt1.o /usr/lib/gcc/ppc64-redhat-linux/4.3.0/crtbegin.o:(.fini+0x0): relocation truncated to fit: R_PPC_REL24 against `.text' /usr/lib/gcc/ppc64-redhat-linux/4.3.0/crtend.o:(.init+0x0): relocation truncated to fit: R_PPC_REL24 against `.text' c-lang.o: In function `VEC_tree_base_quick_insert': /home/andreast/devel/gcc/head-clean/gcc/gcc/tree.h:190: relocation truncated to fit: R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/ppc64-redhat-linux/4.3.0/../../../../lib/crt1.o c-lang.o: In function `VEC_tree_base_ordered_remove': /home/andreast/devel/gcc/head-clean/gcc/gcc/tree.h:190: relocation truncated to fit: R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/ppc64-redhat-linux/4.3.0/../../../../lib/crt1.o c-lang.o: In function `VEC_tree_base_block_remove': /home/andreast/devel/gcc/head-clean/gcc/gcc/tree.h:190: relocation truncated to fit: R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/ppc64-redhat-linux/4.3.0/../../../../lib/crt1.o c-lang.o: In function `VEC_tree_gc_copy': /home/andreast/devel/gcc/head-clean/gcc/gcc/tree.h:191: relocation truncated to fit: R_PPC_REL24 against symbol `memcpy@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/ppc64-redhat-linux/4.3.0/../../../../lib/crt1.o c-lang.o: In function `VEC_tree_gc_safe_grow_cleared': /home/andreast/devel/gcc/head-clean/gcc/gcc/tree.h:191: relocation truncated to fit: R_PPC_REL24 against symbol `memset@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/ppc64-redhat-linux/4.3.0/../../../../lib/crt1.o c-lang.o: In function `VEC_tree_heap_free': /home/andreast/devel/gcc/head-clean/gcc/gcc/tree.h:192: relocation truncated to fit: R_PPC_REL24 against symbol `free@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/ppc64-redhat-linux/4.3.0/../../../../lib/crt1.o c-lang.o: In function `VEC_tree_heap_copy': /home/andreast/devel/gcc/head-clean/gcc/gcc/tree.h:192: relocation truncated to fit: R_PPC_REL24 against symbol `memcpy@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/ppc64-redhat-linux/4.3.0/../../../../lib/crt1.o c-lang.o: In function `VEC_tree_heap_safe_grow_cleared': /home/andreast/devel/gcc/head-clean/gcc/gcc/tree.h:192: additional relocation overflows omitted from the output collect2: ld returned 1 exit status make[3]: *** [cc1-dummy] Error 1 make[3]: Leaving directory `/home/andreast/devel/gcc/head-clean/objdir/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/home/andreast/devel/gcc/head-clean/objdir' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/andreast/devel/gcc/head-clean/objdir' make: *** [all] Error 2 The bootstrapping compiler has this version: [EMAIL PROTECTED] objdir]$ gcc -v Using built-in specs. Target: ppc64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --enable-secureplt --with-long-double-128 --build=ppc64-redhat-linux --target=ppc64-redhat-linux --with-cpu=default32 Thread model: posix gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) The configuration flags used: /home/andreast/devel/gcc/head-clean/gcc/configure --prefix=/home/andreas/devel/gcc/head-clean/testbin --disable-static --enable-languages=c With Janis and Peter B. we found a workaround to bootstrap again: Basically we need a very recent binutils (I use (GNU Binutils) 2.19.50.20080922) and a tweak to link cc1: --relax. I'll attach the workaround patch later. Due to the fact that I do not know on how to go on I have to file this PR. I'll add Janis and Peter to CC as they did a big contribution in analyzing this issue. -- Summary: bootstrap broken with core gcc > gcc-4.2.x Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: andreast at gcc dot gnu dot org GCC build triplet: powerpc-unknown-linux-gnu GCC host triplet: powerpc-unknown-linux-gnu GCC target triplet: powerpc-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37739