overview: building gcc 4.3 with gcc 4.3 fails on a 64 bit ppc64 box. (yes, running as elf64)
gcc -v Using built-in specs. Target: powerpc64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.0_alpha20080104/work/gcc-4.3-20080104/configure --prefix=/usr --bindir=/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.3.0-alpha20080104 --includedir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.0-alpha20080104/include --datadir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20080104 --mandir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20080104/man --infodir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20080104/info --with-gxx-include-dir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.0-alpha20080104/include/g++-v4 --host=powerpc64-unknown-linux-gnu --build=powerpc64-unknown-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.3.0-alpha20080104 (experimental) (GCC) ./configure options: --prefix=/usr --bindir=/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.3.0-alpha20080104 --includedir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.0-alpha20080104/include --datadir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20080104 --mandir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20080104/man --infodir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20080104/info --with-gxx-include-dir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.0-alpha20080104/include/g++-v4 --host=powerpc64-unknown-linux-gnu --build=powerpc64-unknown-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,treelang --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu output + cmd issued that died sed -e s/TARGET_GETGROUPS_T/gid_t/ \ /var/tmp/portage/sys-devel/gcc-4.3.0_alpha20080104/work/gcc-4.3-20080104/gcc/sys-types.h /var/tmp/portage/sys-devel/gcc-4.3.0_alpha20080104/work/gcc-4.3-20080104/gcc/sys-protos.h > SYSCALLS.c /var/tmp/portage/sys-devel/gcc-4.3.0_alpha20080104/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20080104/work/build/./gcc/ -B/usr/powerpc64-unknown-linux-gnu/bin/ -B/usr/powerpc64-unknown-linux-gnu/lib/ -isystem /usr/powerpc64-unknown-linux-gnu/include -isystem /usr/powerpc64-unknown-linux-gnu/sys-include -O2 -g -O2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wno-strict-prototypes -Wno-error -isystem ./include -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20080104/work/gcc-4.3-20080104/gcc -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20080104/work/gcc-4.3-20080104/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20080104/work/gcc-4.3-20080104/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20080104/work/gcc-4.3-20080104/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20080104/work/gcc-4.3-20080104/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20080104/work/gcc-4.3-20080104/gcc/../libdecnumber/dpd -I../libdecnumber \ -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c <built-in>:0: internal compiler error: in real_to_decimal, at real.c:1656 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. I'm still digging into this .. I'll attach the -save-temps output in a bit -- Summary: ICE in real_to_decimal, at real.c:1656 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tgall dot foo at gmail dot com GCC build triplet: powerpc64-unknown-linux-gnu GCC host triplet: powerpc64-unknown-linux-gnu GCC target triplet: powerpc64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34720