From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13270 invoked by alias); 15 Sep 2007 10:19:14 -0000 Received: (qmail 13220 invoked by uid 48); 15 Sep 2007 10:19:03 -0000 Date: Sat, 15 Sep 2007 10:19:00 -0000 Message-ID: <20070915101903.13219.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/21185] libgfortran unusable for cross-testing for newlib targets In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rask at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-09/txt/msg01238.txt.bz2 ------- Comment #20 from rask at gcc dot gnu dot org 2007-09-15 10:19 ------- arm-unknown-elf has 8000+ failures. Some of them are similar to this one (which happen on the other targets as well): /n/12/rask/src/all/gcc/testsuite/gfortran.dg/chmod_1.f90:0: warning: 'const' attribute directive ignored /n/12/rask/src/all/gcc/testsuite/gfortran.dg/chmod_1.f90:0: warning: 'nothrow' attribute directive ignored /tmp/cc2tVIvn.o: In function `MAIN__': chmod_1.f90:(.text+0x18c): undefined reference to `_gfortran_chmod_i4_sub' chmod_1.f90:(.text+0x1f0): undefined reference to `_gfortran_chmod_i4_sub' chmod_1.f90:(.text+0x200): undefined reference to `_gfortran_getuid' collect2: ld returned 1 exit status FAIL: gfortran.dg/chmod_1.f90 -O1 (test for excess errors) The full list of functions (not all of which are missing on all targets): _gfortran_access_func _gfortran_chmod_func _gfortran_chmod_i4_sub _gfortran_fstat_i4 _gfortran_fstat_i4_sub _gfortran_getgid _gfortran_getuid _gfortran_lstat_i4 _gfortran_lstat_i4_sub _gfortran_specific__acosh_r4 _gfortran_specific__acosh_r8 _gfortran_specific__acos_r8 _gfortran_specific__asin_r8 _gfortran_specific__atanh_r4 Another type of failure is this one: At line 13 of file /n/12/rask/src/all/gcc/testsuite/gfortran.dg/PR19872.f (unit = 1, file = 'fort.1') Fortran runtime error: End of file Counts for each target: arm: 1264 frv: 1192 mipsisa64: 32 sh: 0 v850: 1192 frv-unknown-elf looks reasonable: # of expected passes 19140 # of unexpected failures 1438 # of expected failures 6 # of unresolved testcases 96 # of untested testcases 8 # of unsupported tests 100 mipsisa64-unknown-elf: 8000+ failures, many of which are this one: mips-core: 1 byte read to unmapped address 0x0 at 0xffffffff800214c8 program stopped with signal 10. FAIL: gfortran.fortran-torture/execute/write_logical.f90 execution, -O3 -g sh-unknown-elf: 8000+ failures, of which 6000+ are linker errors. There are many of this one: /n/12/rask/src/all/newlib/libc/sys/sh/syscalls.c:210: undefined reference to `_main' v850-unknown-elf looks reasonable: # of expected passes 19319 # of unexpected failures 1315 # of expected failures 6 # of unresolved testcases 50 # of unsupported tests 100 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21185