Configured with ../configure --prefix=/pkgs/gcc-test --with-gmp=/pkgs/gmp-4.1.4/ --with-mpfr=/pkgs/gmp-4.1.4/
The following messages come up during configure: checking for correct version of gmp.h... yes checking for correct version of mpfr.h... buggy version of MPFR detected checking for any version of mpfr.h... yes The following languages will be built: c,c++,fortran,java,objc *** This configuration is not supported in the following subdirectories: target-libmudflap target-libada gnattools (Any other directories should still work fine.) In /pkgs/gmp-4.1.4/include/mpfr.h we find /* Define MPFR version number */ #define MPFR_VERSION_MAJOR 2 #define MPFR_VERSION_MINOR 1 #define MPFR_VERSION_PATCHLEVEL 1 which is indeed insufficient to build gfortran, but gfortran is still configured in and "make bootstrap" fails with /Users/gcc-test/programs/gcc/mainline/objdir-64/./prev-gcc/xgcc -B/Users/gcc-test/programs/gcc/mainline/objdir-64/./prev-gcc/ -B/pkgs/gcc-test/powerpc-apple-darwin8.7.0/bin/ -c -g -O2 -mdynamic-no-pic -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -Werror -fno-common -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc -I../../gcc/fortran -I../../gcc/../include -I./../intl -I../../gcc/../libcpp/include -I/pkgs/gmp-4.1.4//include -I/pkgs/gmp-4.1.4//include -I../../gcc/../libdecnumber -I../libdecnumber ../../gcc/fortran/arith.c -o fortran/arith.o cc1: warnings being treated as errors ../../gcc/fortran/arith.c: In function 'gfc_check_real_range': ../../gcc/fortran/arith.c:445: warning: implicit declaration of function 'mpfr_subnormalize' make[3]: *** [fortran/arith.o] Error 1 [descartes:gcc/mainline/objdir-64] gcc-test% cat ../LAST_UPDATED Thu Sep 28 09:43:25 EDT 2006 Thu Sep 28 13:43:25 UTC 2006 (revision 117281M) -- Summary: fortran added to language build list even when known buggy version of mpfr found Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: lucier at math dot purdue dot edu GCC build triplet: powerpc-apple-darwin8.7.0 GCC host triplet: powerpc-apple-darwin8.7.0 GCC target triplet: powerpc-apple-darwin8.7.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29275