https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68268
Bug ID: 68268 Summary: configure: error: GNU Fortran is not working; Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: isearcher at 126 dot com Target Milestone: --- Created attachment 36672 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36672&action=edit config.log I want to upgrade gfortran on a linux sever with gcc version 4.1.2 20080704 (Red Hat 4.1.2-48).I use the configure command like this: ./configure --prefix=/wk5/WJ/gcc -enable-threads=posix -disable-checking -disable-multilib -enable-languages=c,fortran --with-gmp=/wk5/WJ/gmp-4.3.2 --with-mpfr=/wk5/WJ/mpfr-2.4.2 --with-mpc=/wk5/WJ/mpc-0.8.1 When i make gcc,i found this error: libtool.m4: error: problem compiling FC test program ... checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether the GNU Fortran compiler is working... no configure: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching /wk5/WJ/tmp/gcc-4.8.0/x86_64-unknown-linux-gnu/libgfortran/config.log make[1]: *** [configure-target-libgfortran] Error 1 make[1]: Leaving directory `/wk5/WJ/tmp/gcc-4.8.0' make: *** [all] Error 2 the config.log is also attached. Is there anybody knows what's the problem? thanks.