My system response to the gcc -v is [EMAIL PROTECTED] ~]$ gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-cpu=generic --build=x86_64-redhat-linux Thread model: posix gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) [EMAIL PROTECTED] ~]$
The error message is Running unimake to create Makefile for blsum System name: Linux currawong 2.6.25.14-108.fc9.x86_64 #1 SMP Mon Aug 4 13:46:35 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux System release number translated to 2625 No i86 compiler specification--assuming gfortran (gcc 4.2x) Makefile for blsum remade by unimake gfortran -O3 -Wuninitialized -fno-f2c -ffast-math -fno-automatic -fno-backslash blsum.f ../gen_util/gen_util_lib.a ../../libraries/matrix/kinv_lib.a ../../libraries/comlib/com_lib.a -o blsum rm -f blsum.o gfortran -O3 -Wuninitialized -fno-f2c -ffast-math -fno-automatic -fno-backslash ensum.f ../gen_util/gen_util_lib.a ../../libraries/matrix/kinv_lib.a ../../libraries/comlib/com_lib.a -o ensum rm -f ensum.o gfortran -O3 -Wuninitialized -fno-f2c -ffast-math -fno-automatic -fno-backslash tssum.f ../gen_util/gen_util_lib.a ../../libraries/matrix/kinv_lib.a ../../libraries/comlib/com_lib.a -o tssum tssum.f: In function 'remove_ejmp': tssum.f:712: internal compiler error: in set_uids_in_ptset, at tree-ssa-structalias.c:4773 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. make: *** [tssum] Error 1 Failure in make_globk -- install_software terminated [EMAIL PROTECTED] gamit-10.34]$ First a Lot of background. I am a numerical guy mainly working as a beta tester on largish GPS and geodetic programs. In this case it is the MIT GPS suite GAMIT/GLOBK. I have just recently moved from a 32 bit environment to a 64 bit environment. It hasnt been all that easy. The suggestion is that it is GNU rather than our GAMIT code that is at fault, but this not a given. I tried several options, all of which generated a second set of errors. These options all revolved around re-building the GNU program suite So off I go and get myself a copy of GNU4.3.1 and I attempt to build my own gfortran rather than use the system one. The first problems that I run into are the interdependencies Gnu 4.3.1 requires the latest mpfr and gmp packages. Here is what happens [EMAIL PROTECTED] gcc-4.3.1]$ ../gcc-4.3.1.source/configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gnatbind... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for correct version of gmp.h... yes checking for correct version of mpfr.h... no configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+. Try the --with-gmp and/or --with-mpfr options to specify their locations. Copies of these libraries' source code can be found at their respective hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP and/or MPFR from a vendor distribution package, make sure that you have installed both the libraries and the header files. They may be located in separate packages. BUT the distribution has gmp-4.2.2-7.fc9.x86_64.rpm and gmp-devel-4.2.2-7.fc9.x86_64.rpm mpfr-2.3.0-3.fc9.x86_64.rpm I went and tried to update these packages as follows [EMAIL PROTECTED] media]# cd "Fedora 9 x86_64 DVD"/Packages [EMAIL PROTECTED] Packages]# ls *gmp* gmp-4.2.2-7.fc9.i386.rpm gmp-4.2.2-7.fc9.x86_64.rpm gmp-devel-4.2.2-7.fc9.i386.rpm gmp-devel-4.2.2-7.fc9.x86_64.rpm [EMAIL PROTECTED] Packages]# rpm -Uvh gmp-4.2.2-7.fc9.x86_64.rpm Preparing... ########################################### [100%] package gmp-4.2.2-7.fc9.x86_64 is already installed [EMAIL PROTECTED] Packages]# ls *mpfr* mpfr-2.3.0-3.fc9.x86_64.rpm [EMAIL PROTECTED] Packages]# rpm -Uvh mpfr-2.3.0-3.fc9.x86_64.rpm Preparing... ########################################### [100%] package mpfr-2.3.0-3.fc9.x86_64 is already installed [EMAIL PROTECTED] Packages]# but in the /usr/lib64 library we have [EMAIL PROTECTED] Packages]# cd /usr/lib64 [EMAIL PROTECTED] lib64]# [EMAIL PROTECTED] lib64]# ls -lrt libgmp* -rwxr-xr-x 1 root root 15424 2008-03-20 00:29 libgmpxx.so.4.0.2 -rwxr-xr-x 1 root root 274056 2008-03-20 00:29 libgmp.so.3.4.2 lrwxrwxrwx 1 root root 17 2008-08-11 07:18 libgmpxx.so.4 -> libgmpxx.so.4.0.2 lrwxrwxrwx 1 root root 15 2008-08-11 07:18 libgmp.so.3 -> libgmp.so.3.4.2 lrwxrwxrwx 1 root root 13 2008-08-11 07:22 libgmpxx.so -> libgmpxx.so.4 lrwxrwxrwx 1 root root 15 2008-08-11 07:22 libgmp.so -> libgmp.so.3.4.2 [EMAIL PROTECTED] lib64]# ls -lrt libmpfr* -rwxr-xr-x 1 root root 270776 2008-02-22 09:40 libmpfr.so.1.1.0 lrwxrwxrwx 1 root root 16 2008-08-11 07:18 libmpfr.so.1 -> libmpfr.so.1.1.0 [EMAIL PROTECTED] lib64]# Note the use of wild cards and that both modules do not have the correct matching versions. Something is quite out of wack here so I went and got the latest versions and did the configure, make, used gmp-4.2.3 and mpfr-2.3.1 and configured with --prefix=/opt so the /opt/lib then contained. -rwxrwxr-x 1 root peterm 867 2008-08-13 15:26 libnetcdf.la -rwxrwxr-x 1 root peterm 3249576 2008-08-13 15:26 libnetcdf.a -rwxrwxr-x 1 root peterm 879 2008-08-13 15:26 libnetcdf_c++.la -rwxrwxr-x 1 root peterm 932248 2008-08-13 15:26 libnetcdf_c++.a -rwxr-xr-x 1 root root 1136055 2008-09-01 12:44 libmpfr.so.1.1.1 lrwxrwxrwx 1 root root 16 2008-09-01 12:44 libmpfr.so.1 -> libmpfr.so.1.1.1 lrwxrwxrwx 1 root root 16 2008-09-01 12:44 libmpfr.so -> libmpfr.so.1.1.1 -rwxr-xr-x 1 root root 832 2008-09-01 12:44 libmpfr.la -rw-r--r-- 1 root root 2501742 2008-09-01 12:44 libmpfr.a -rwxr-xr-x 1 root root 315225 2008-09-01 13:09 libgmp.so.3.4.3 lrwxrwxrwx 1 root root 15 2008-09-01 13:09 libgmp.so.3 -> libgmp.so.3.4.3 lrwxrwxrwx 1 root root 15 2008-09-01 13:09 libgmp.so -> libgmp.so.3.4.3 -rwxr-xr-x 1 root root 779 2008-09-01 13:09 libgmp.la -rw-r--r-- 1 root root 800636 2008-09-01 13:09 libgmp.a These numbers and version are the same as in the /usr/lib64 area. Attempts to make new compilers fails with exactly the same errors. I dont understand what is wrong unless it is a bug. Appreciate help. Ths peter So it seems that there are issues in generating a new gfortran compiler. -- Summary: gfortran errors in compilation and the making for upgraded compilers Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: petermorgan at grapevine dot net dot au http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37310