[Bug libfortran/15266] libgfortran doesn't compile on IRIX 5.3

coudert at clipper dot ens dot fr gcc-bugzilla@gcc.gnu.org
Sun Jan 9 15:02:00 GMT 2005


------- Additional Comments From coudert at clipper dot ens dot fr  2005-01-09 15:02 -------
More detail on this one: it fails to build mips-sgi-irix6.5/32/libgfortran but
compilation of mips-sgi-irix6.5/64/libgfortran works fine. The second case, the
output of the step building exp_c8.c is:

/bin/sh ./libtool --mode=compile /var/tmp/gfortran-20050109/ibin/gcc/gfortran
-B/var/tmp/gfortran-20050109/ibin/gcc/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/bin/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/lib/ -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/include -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/sys-include  -mabi=64  -g -O2
-Wall -fno-repack-arrays -fno-underscoring -c -o _exp_c8.lo `test -f
'generated/_exp_c8.f90' || echo '../../../../gcc/libgfortran/'`generated/_exp_c8.f90
/var/tmp/gfortran-20050109/ibin/gcc/gfortran
-B/var/tmp/gfortran-20050109/ibin/gcc/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/bin/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/lib/ -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/include -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/sys-include -mabi=64 -g -O2
-Wall -fno-repack-arrays -fno-underscoring -c
../../../../gcc/libgfortran/generated/_exp_c8.f90   -DPIC -o .libs/_exp_c8.o
/var/tmp/gfortran-20050109/ibin/gcc/gfortran
-B/var/tmp/gfortran-20050109/ibin/gcc/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/bin/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/lib/ -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/include -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/sys-include -mabi=64 -g -O2
-Wall -fno-repack-arrays -fno-underscoring -c
../../../../gcc/libgfortran/generated/_exp_c8.f90 -o _exp_c8.o >/dev/null 2>&1

while for 32/libgfortran, it fails with:

/bin/sh ./libtool --mode=compile /var/tmp/gfortran-20050109/ibin/gcc/gfortran
-B/var/tmp/gfortran-20050109/ibin/gcc/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/bin/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/lib/ -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/include -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/sys-include  -mabi=32  -g -O2
-Wall -fno-repack-arrays -fno-underscoring -c -o _exp_c8.lo `test -f
'generated/_exp_c8.f90' || echo '../../../../gcc/libgfortran/'`generated/_exp_c8.f90
/var/tmp/gfortran-20050109/ibin/gcc/gfortran
-B/var/tmp/gfortran-20050109/ibin/gcc/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/bin/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/lib/ -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/include -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/sys-include -mabi=32 -g -O2
-Wall -fno-repack-arrays -fno-underscoring -c
../../../../gcc/libgfortran/generated/_exp_c8.f90   -DPIC -o .libs/_exp_c8.o
/var/tmp/gfortran-20050109/ibin/gcc/gfortran
-B/var/tmp/gfortran-20050109/ibin/gcc/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/bin/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/lib/ -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/include -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/sys-include -mabi=32 -g -O2
-Wall -fno-repack-arrays -fno-underscoring -c
../../../../gcc/libgfortran/generated/_exp_c8.f90 -o _exp_c8.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /var/tmp/gfortran-20050109/ibin/gcc/xgcc
-B/var/tmp/gfortran-20050109/ibin/gcc/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/bin/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/lib/ -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/include -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/sys-include  -mabi=32
-DHAVE_CONFIG_H -I. -I../../../../gcc/libgfortran -I. 
-iquote../../../../gcc/libgfortran/io -O2 -g -O2 -std=gnu99 -O2 -g -O2 -Wall
-Wall -c -o exp_c8.lo `test -f 'generated/exp_c8.c' || echo
'../../../../gcc/libgfortran/'`generated/exp_c8.c
/var/tmp/gfortran-20050109/ibin/gcc/xgcc -B/var/tmp/gfortran-20050109/ibin/gcc/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/bin/
-B/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/lib/ -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/include -isystem
/var/tmp/gfortran-20050109/irun/mips-sgi-irix6.5/sys-include -mabi=32
-DHAVE_CONFIG_H -I. -I../../../../gcc/libgfortran -I.
-iquote../../../../gcc/libgfortran/io -O2 -g -O2 -std=gnu99 -O2 -g -O2 -Wall
-Wall -c ../../../../gcc/libgfortran/generated/exp_c8.c   -DPIC -o .libs/exp_c8.o
../../../../gcc/libgfortran/generated/exp_c8.c:29: error: conflicting types for
'cabs'
/var/tmp/gfortran-20050109/ibin/gcc/include/math.h:676: error: previous
declaration of 'cabs' was here

The difference of these two I can't explain, may be something deep inside
configure process. I don't know how to debug further than that. I can provide
the complete build directory for analysis if needed.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15266



More information about the Gcc-bugs mailing list