Some testsuite failures in gcc-3.2's libjava under cygwin

Christian Jönsson christian@j-son.org
Mon May 6 11:31:00 GMT 2002


The recent 3.2 trunk, with the -no-install patch, still gets me a few
failures:

Executing on host:
/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/libjava/testsuite/../libtoo
l --silent --tag=GCJ --mode=link /usr/local/src/gcc-dev/objdir/gcc/gcj
-B/usr/local/src/gcc-dev/objdir/gcc/ --encoding=UTF-8
-B/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/./libjava/
/usr/local/src/gcc-dev/gcc/libjava/testsuite/libjava.jni/calls.java
-fjni -L. -lcalls  --main=calls -g
-L/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/./libjava/.libs
-L/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/./boehm-gc/.libs    -o
calls    (timeout = 300)
spawn
/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/libjava/testsuite/../libtoo
l --silent --tag=GCJ --mode=link /usr/local/src/gcc-dev/objdir/gcc/gcj
-B/usr/local/src/gcc-dev/objdir/gcc/ --encoding=UTF-8
-B/usr/local/src/gcc-dev/objdir/i686-
pc-cygwin/./libjava/
/usr/local/src/gcc-dev/gcc/libjava/testsuite/libjava.jni/calls.java
-fjni -L. -lcalls --main=calls -g
-L/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/./libjava/.libs
-L/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/./boehm-gc/.libs -o calls
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
cannot find -lcalls
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
cannot find -lcalls
collect2: ld returned 1 exit status

FAIL: linking calls
XFAIL: running calls

Note the weird -lclass.... Several tests fail in the similar way, cannot
find -lcxxtest etc...


Also, there are quite a few warning regarding

cc1.exe: warning: -fPIC ignored for target (all code is position
independent)
output is:
cc1.exe: warning: -fPIC ignored for target (all code is position
independent)

cc1plus.exe: warning: -fPIC ignored for target (all code is position
   independent)
output is:
cc1plus.exe: warning: -fPIC ignored for target (all code is position
   independent)

And then there's of course the

assertion "!(addr & FLAGS)" failed: file
"../../../gcc/libjava/java/lang/natObject.cc", line 772


failures...

Cheers,

/ChJ




More information about the Java mailing list