This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: java broken on Linux/x86-64
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: GCC <gcc at gcc dot gnu dot org>, GCJ <java at gcc dot gnu dot org>, tromey at redhat dot com
- Date: Tue, 06 Dec 2005 15:43:57 +0530
- Subject: Re: java broken on Linux/x86-64
- Openpgp: url=http://ranjitmathew.hostingzero.com/aa_6C114B8F.txt
- References: <hohd9m4pty.fsf@reger.suse.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas Jaeger wrote:
> Running the testsuite on the trunk, I get lots of failures:
>
> === libjava Summary for unix ===
>
> # of expected passes 1811
> # of unexpected failures 1087
> # of expected failures 6
> # of untested testcases 1097
[...]
> This is on Linux/x86-64,
Ditto on i686-pc-linux-gnu. Undo this change to
fix the problem:
Index: gcc/java/ChangeLog
from Tom Tromey <tromey@redhat.com>
* parse.y (patch_new_array_init): Don't set length on array.
After undoing this change, I'm left with:
FAIL: rh174912 compilation from bytecode
FAIL: rh174912 -O3 compilation from bytecode
FAIL: cxxtest run
XPASS: Array_3 execution - bytecode->native test
XPASS: Array_3 -O3 execution - bytecode->native test
(I don't understand yet why cxxtest run is marked FAILed.
It seems to have run just fine. :-/ )
BTW Tom, the Red Hat bugzilla doesn't let me see the
bug #174912, even after logging in. It might probably be
a better idea to open a PR in GCC's bugzilla describing
the problem. That said, the testcase you've included does
indeed indicate the problem.
Thanks,
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDlWRlYb1hx2wRS48RAknrAJ4+rkwjh0+f2bS6Y43RZdF1MPFewQCdHHXw
nXr2HsMZ5Br3u6MdIJ2920k=
=WsAP
-----END PGP SIGNATURE-----