Andrew Pinski wrote:
Platform is x86_64 (FC6) with trunk r119257

Configured thusly:
../trunk/configure --with-gmp=/usr/local --with-mpfr=/usr/local --disable-multilib

I am getting this while in stage3 when I bootstrap:


/bin/sh ../../../trunk/libgfortran/mk-kinds-h.sh '/home/daney/gccsvn/native-trunk/./gcc/gfortran -B/home/daney/gccsvn/native-trunk/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -I . -Wall -fno-repack-arrays -fno-underscoring ' > kinds.h || rm kinds.h
../../../trunk/libgfortran/mk-kinds-h.sh: Unknown type
grep '^#' < kinds.h > kinds.inc
/bin/sh: kinds.h: No such file or directory
make[2]: *** [kinds.inc] Error 1
make[2]: Leaving directory `/home/daney/gccsvn/native-trunk/x86_64-unknown-linux-gnu/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/home/daney/gccsvn/native-trunk'
make: *** [all] Error 2


Usually (like 99% of the time), this means you GMP/MPFR are broken
and is causing gfortran to crash out.

You might want to try running mk-kinds-h.sh to see what the error
is?


Thanks Andrew. That was the problem. I had inadvertently left my LD_LIBRARY_PATH unset, so it was probably using the system libraries instead of the special GCC versions.

This being my first ever x86_64 build, I am still working some kinks out of the process.

David Daney

Reply via email to