[Bug libgomp/31510] FAIL: libgomp.fortran/threadprivate[23].f90 -O3 -g
danglin at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 26 21:45:00 GMT 2007
------- Comment #1 from danglin at gcc dot gnu dot org 2007-12-26 21:45 -------
These fails have changed somewhat:
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/libgomp/testsuite/libgomp.fortran/threadprivate3.f90
-B/test/gnu
/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/
-I/test/gnu/gcc/objdir/hppa2.0w-hp-
hpux11.11/./libgomp -I/test/gnu/gcc/gcc/libgomp/testsuite/.. -fmessage-length=0
-fopenmp -O3 -g
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/.lib
s -lgomp
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libgomp/../libgfortran/.
libs -lgfortranbegin -lgfortran -lm -o ./threadprivate3.exe (timeout =
300)
/usr/ccs/bin/ld: Unsatisfied symbols:
thrc_ (first referenced in /var/tmp//ccgf9fAS.o) (data)
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/usr/ccs/bin/ld: Unsatisfied symbols:
thrc_ (first referenced in /var/tmp//ccgf9fAS.o) (data)
collect2: ld returned 1 exit status
FAIL: libgomp.fortran/threadprivate3.f90 -O3 -g (test for excess errors)
Excess errors:
/usr/ccs/bin/ld: Unsatisfied symbols:
thrc_ (first referenced in /var/tmp//ccgf9fAS.o) (data)
WARNING: libgomp.fortran/threadprivate3.f90 -O3 -g compilation failed to
produ
ce executable
The reference to thrc_ comes from a .stabs statement in the assembler output:
...
__emutls_v.thrc_ .comm 16
.stabs "foo:G40=xsarray2_integer(kind=4):",32,0,5,0
.stabs
"thrc:G41=s32bar1:42=xsarray1_integer(kind=4):,0,192;bar2:43=44=
ar15;1;2;15,192,64;;",32,0,14,0
.stabs "bar1:G42",32,0,12,0
.stabs "bar2:V43",40,0,13,thrc_+24
...
The reference disappears if I comment out the last .stabs statement.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31510
More information about the Gcc-bugs
mailing list