This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/59313] New: gfortran.dg/erf_3.F90 FAILs on Solaris/SPARC
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Nov 2013 14:24:23 +0000
- Subject: [Bug fortran/59313] New: gfortran.dg/erf_3.F90 FAILs on Solaris/SPARC
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59313
Bug ID: 59313
Summary: gfortran.dg/erf_3.F90 FAILs on Solaris/SPARC
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
Host: sparc*-sun-solaris2.*
Target: sparc*-sun-solaris2.*
Build: sparc*-sun-solaris2.*
The new gfortran.dg/erf_3.F90 test FAILs on Solaris/SPARC in different ways:
* On Solaris 9, it fails to link:
FAIL: gfortran.dg/erf_3.F90 -O0 (test for excess errors)
Excess errors:
Undefined first referenced
symbol in file
erfl /var/tmp//ccYCQomy.o
erfcl /var/tmp//ccYCQomy.o
_gfortran_erfc_scaled_r16 /var/tmp//ccYCQomy.o
frexpl /var/tmp//ccYCQomy.o
scalbnl /var/tmp//ccYCQomy.o
ld: fatal: Symbol referencing errors. No output written to ./erf_3.exe
WARNING: gfortran.dg/erf_3.F90 -O0 compilation failed to produce executable
* On Solaris 10 and 11, I get an execution failure instead:
0.00000000000000000000000000000000000
0.00000000000000000000000000000000000
0.00000000000000000000000000000000000
0.00000000000000000000000000000000000
0.00000000000000000000000000000000000
6167208123267181.00000000000000000000
Program aborted. Backtrace:
#0 0xFEA1A0BF
In gdb, I find
Program received signal SIGABRT, Aborted.
[Switching to Thread 1 (LWP 1)]
0xff0da440 in _lwp_kill () from /lib/libc.so.1
(gdb) where
#0 0xff0da440 in _lwp_kill () from /lib/libc.so.1
#1 0xff083d90 in raise () from /lib/libc.so.1
#2 0xff05b59c in abort () from /lib/libc.so.1
#3 0xff21c068 in _gfortrani_sys_abort ()
at /vol/gcc/src/hg/trunk/local/libgfortran/runtime/error.c:173
#4 0xff2b7a40 in _gfortran_abort ()
at /vol/gcc/src/hg/trunk/local/libgfortran/intrinsics/abort.c:33
#5 0x00011318 in check (a=0.45653165863355994044362586269156961,
b=0.45653165863355994014668559274485783)
at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/erf_3.F90:50
#6 0x0001154c in test ()
at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/erf_3.F90:29
#7 0x00012390 in main (argc=1, argv=0xffbff594)
at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gfortran.dg/erf_3.F90:43
#8 0x00010cfc in _start ()
Rainer