A bunch of failed acats tests for gcc-4.0.2 using gnu as and gnu ld from
binutils-2.16.1, see:
http://gcc.gnu.org/ml/gcc-testresults/2005-10/msg00531.html

acats.log shows for example:
splitting
/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/testsuite/ada/acats/tests/a/a83a02b.ada
into:
   a83a02b.adb
BUILD a83a02b.adb
gnatmake
--GCC="/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/xgcc
-B/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/" -gnatws
-O2
-I/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/testsuite/ada/acats/support
a83a02b.adb -largs
--GCC="/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/xgcc
-B/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/"
/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/xgcc -c
-B/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/ -gnatws
-O2
-I/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/testsuite/ada/acats/support
a83a02b.adb
gnatbind -aO./
-I/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/testsuite/ada/acats/support
-I- -x a83a02b.ali
gnatlink a83a02b.ali
--GCC=/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/xgcc
-B/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/
/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/install/bin/ld:GNAT-a02E52: file
format not recognized; treating as linker script
/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/install/bin/ld:GNAT-a02E52:2: parse
error
collect2: ld returned 1 exit status
gnatlink: cannot call
/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/gcc-4.0.2/gcc-4.0.2/gcc/xgcc
gnatmake: *** link failed.
FAIL:   a83a02b 

Further analysis shows that the installed compiler gives a different picture:

$ gnatmake -g -I../../../support/ a87b59a.adb
gnatbind -aO./ -I../../../support/ -I- -x a83a02b.ali
gnatlink a83a02b.ali -g
/usr/lib/../lib32/libpthread.so: undefined reference to `_mpi_sgi_init'
collect2: ld returned 1 exit status
gnatlink: cannot call
/disk1/SCRATCH/gcc-build/IRIX64/mips-sgi-irix6.5/install/bin/gcc
gnatmake: *** link failed.

Same thing for at least a85013b and a87b59a.

This seems to be a problem with gnu ld 2.16.1. See:

http://lists.gnu.org/archive/html/bug-binutils/2005-10/msg00013.html


-- 
           Summary: link failure for several acats tests
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: r dot emrich at de dot tecosim dot com
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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

Reply via email to