[csw-maintainers] gfortran binary on build9x is wrong

Geoff Davis gadavis at opencsw.org
Fri Dec 3 02:25:56 CET 2010


Hi all,

build9x is doing some weird stuff with it's gfortran binary. It looks like it is still the binary from the obsolete CSWgcc4g95 package rather than the new one from CSWgcc4gfortran

I say this because when I run gfortran -v on build9x, I get version 4.02:

$ /opt/csw/gcc4/bin/gfortran -v
Using built-in specs.
Target: i386-pc-solaris2.8
Configured with: ../sources/gcc-4.0.2/configure --prefix=/opt/csw/gcc4 --with-local-prefix=/opt/csw --with-gnu-as --with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-shared --enable-multilib --enable-nls --with-included-gettext --with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib --with-system-zlib --enable-languages=c,c++,f95,java,objc,ada
Thread model: posix
gcc version 4.0.2

Same command on build9s results in version 4.3.3:
$ /opt/csw/gcc4/bin/gfortran -v
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with: ../gcc-4.3.3/configure --prefix=/opt/csw/gcc4 --exec-prefix=/opt/csw/gcc4 --with-gnu-as --with-as=/opt/csw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls --with-included-gettext --with-libiconv-prefix=/opt/csw --with-x --with-mpfr=/opt/csw --with-gmp=/opt/csw --enable-java-awt=xlib --enable-libada --enable-libssp --enable-objc-gc --enable-threads=posix --enable-stage1-languages=c --enable-languages=ada,c,c++,fortran,java,objc
Thread model: posix
gcc version 4.3.3 (GCC)

The version number of the old CSWgcc4g95 package is 4.0.2, while the rest of the gcc4 suite is 4.3.3

The odd part is that CSWgcc4g95 does not appear to be installed on build9x:
$ pkginfo | grep CSWgcc4
application CSWgcc4core                      gcc4core - GNU C Compiler
application CSWgcc4corert                    gcc4corert - GNU C Compiler Run Time
application CSWgcc4g++                       gcc4g++ - GNU C++ Compiler
application CSWgcc4g++rt                     gcc4g++rt - GNU C++ Compiler Run Time
application CSWgcc4gfortran                  gcc4gfortran - GNU Fortran Compiler
application CSWgcc4gfortranrt                gcc4gfortranrt - GNU Fortran Compiler Run Time

The installed CSWgcc4gfortran shows that it's the right version:
$ pkginfo -l CSWgcc4gfortran | grep VERSION
   VERSION:  4.3.3,REV=2009.05.07


So I can't tell if this is a packaging problem with CSWgcc4gfortran on x86 or if this binary is a hanger-on from the old CSWgcc4g95 that didn't get removed properly.

Can someone on the build farm try to remove and reinstall CSWgcc4gfortran and CSWgcc4gfortranrt to see if this problem clears itself up?

Thanks,
Geoff


More information about the maintainers mailing list