public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* Some testsuite failures in gcc-3.2's libjava under cygwin
@ 2002-05-06 11:31 Christian Jönsson
  2002-05-06 13:06 ` Tom Tromey
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Jönsson @ 2002-05-06 11:31 UTC (permalink / raw)
  To: 'Billinghurst, David (CRTS)'; +Cc: java

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Some testsuite failures in gcc-3.2's libjava under cygwin
  2002-05-06 11:31 Some testsuite failures in gcc-3.2's libjava under cygwin Christian Jönsson
@ 2002-05-06 13:06 ` Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2002-05-06 13:06 UTC (permalink / raw)
  To: Christian Jönsson; +Cc: 'Billinghurst, David (CRTS)', java

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 779 bytes --]

>>>>> "Christian" == Christian Jönsson <christian@j-son.org> writes:

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

Christian> cannot find -lcalls
Christian> FAIL: linking calls

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

Currently the JNI tests (from jni.exp) assume you are running on a
Unix-like platform where shared libraries are named "libfoo.so", etc.

One fix would be to update this code to build .dll libraries on Windows.
Another fix would be to disable these tests on Windows.

If you can tell me what steps to use to build a JNI library (i.e., do
one of the tests by hand and tell me how), I can put it on my to-do
list to fix.

Tom

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-06 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-06 11:31 Some testsuite failures in gcc-3.2's libjava under cygwin Christian Jönsson
2002-05-06 13:06 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).