This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Failed to complete testsuite run in gcc-3.0.4/libjava
- From: Tom Tromey <tromey at redhat dot com>
- To: Christian Jönsson <chj at j-son dot org>
- Cc: java at gcc dot gnu dot org
- Date: 05 Mar 2002 12:28:34 -0700
- Subject: Re: Failed to complete testsuite run in gcc-3.0.4/libjava
- References: <20020223070511.GA17326@j-son.org>
- Reply-to: tromey at redhat dot com
>>>>> "ChJ" == Christian Jönsson <chj@j-son.org> writes:
ChJ> This was on a Debian Woody (test release) sun4m system using
ChJ> binutils 2.11.92.0.12.3-6
ChJ> dejagnu 1.4-4
ChJ> gcc-3.0 3.0.3-1
ChJ> libc6 2.2.5-3
I never saw a reply to this.
ChJ> Schedule of variations:
ChJ> unix/-fPIC
ChJ> unix/-fpic
ChJ> unix
ChJ> ERROR: (DejaGnu) proc "Try `jv-scan --help' for more information. -g -L/share2/gcc-rel/gcc-3.0.4/objdir/sparc-linux//libjava/.libs -L/share2/gcc-rel/gcc-3.0.4/objdir/sparc-linux//boehm-gc/.libs -L/share2/gcc-rel/gcc-3.0.4/objdir/sparc-linux//zlib/.libs -lm -fPIC -o /share2/gcc-rel/gcc-3.0.4/objdir/sparc-linux/libjava/testsuite//share2/gcc-rel/+gcc-3.0.4/objdir/gcc/jv-scan: invalid option -- f" does not exist.
My guess is that the test suite is trying to pass `-fPIC' to jv-scan.
This doesn't work. The fix would be to change lib/libjava.exp so that
it invokes jv-scan differently. Could you look at this? If not,
could you file a PR?
Tom