(1) if you download core, g++, and fortran, only c and c++ are built; fortran is not, unlike in prior releases. (2) configuring with --enable-languages=c,c++,f95 and no other options; then using make profiledbootstrap, I get an ICE: /bin/sh ./libtool --mode=compile /var/tmp/bhudson-gcc/4.0.0/gcc/gfortran -B/var/ tmp/bhudson-gcc/4.0.0/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686 -pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/l ocal/i686-pc-linux-gnu/sys-include -Wall -fno-repack-arrays -fno-underscoring - c -o selected_int_kind.lo `test -f 'intrinsics/selected_int_kind.f90' || echo '/ afs/cs/usr/bhudson/gcc/gcc-4.0.0/libgfortran/'`intrinsics/selected_int_kind.f90 /var/tmp/bhudson-gcc/4.0.0/gcc/gfortran -B/var/tmp/bhudson-gcc/4.0.0/gcc/ -B/usr /local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/ local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-includ e -Wall -fno-repack-arrays -fno-underscoring -c /afs/cs/usr/bhudson/gcc/gcc-4.0. 0/libgfortran/intrinsics/selected_int_kind.f90 -fPIC -DPIC -o .libs/selected_in t_kind.o <built-in>:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. gmake[3]: *** [selected_int_kind.lo] Error 1 gmake[3]: Leaving directory `/usr/tmp/bhudson-gcc/4.0.0/i686-pc-linux-gnu/libgfo rtran' Manually running that compile with -save-temps doesn't appear to create any files.
I get the same error with 'make bootstrap' -- it's not the profiling that causes the ICE. Similarly, I get the same error when I download the full tar file, so it's also not a packaging bug. If there's any other information that would help, I'll happily provide it.
(In reply to comment #1) > I get the same error with 'make bootstrap' -- it's not the profiling that causes > the ICE. Similarly, I get the same error when I download the full tar file, so > it's also not a packaging bug. It works for everyone else on x86 so I don't know what is going on. It could be your version of GMP is broken.
My (apparently broken) gmp is: > rpm -qf /usr/lib/libgmp.so.3.3.2 gmp-4.1.2-2 Downloading a new GMP (4.1.4, which creates libgmp.so.3.3.3) appears to work. I wonder if it's easy to check for this situation? Anyway, thanks for the hint.
Closing as works for me, a GMP bug.