This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCC 3.2 suddenly fails every java test, CLASSPATH wrong
- From: Mark Wielaard <mark at klomp dot org>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, gcc at gcc dot gnu dot org, java at gcc dot gnu dot org, mark at codesourcery dot com
- Date: 15 Aug 2002 20:52:45 +0200
- Subject: Re: GCC 3.2 suddenly fails every java test, CLASSPATH wrong
- References: <200208151501.LAA02954@caip.rutgers.edu> <20020815080552.A16501@lucon.org>
Hi,
On Thu, 2002-08-15 at 17:05, H. J. Lu wrote:
> On Thu, Aug 15, 2002 at 11:01:29AM -0400, Kaveh R. Ghazi wrote:
> > All of a sudden, every test in the java testsuite is failing in GCC-3.2:
> > http://gcc.gnu.org/ml/gcc-testresults/2002-08/msg00486.html
> >
> > It's not just me:
> > http://gcc.gnu.org/ml/gcc-testresults/2002-08/msg00462.html
> >
> > In the logfile, all of the failures look like this:
> >
> > > Can't find default package `java.lang'. Check the CLASSPATH
> > > environment variable and the access to the archives
> > > 1 error
> >
> > [...]
> I was wondering the same thing. This works
>
> http://gcc.gnu.org/ml/gcc-testresults/2002-08/msg00457.html
>
> because I have gcc 3.2 installed on that machine. All my other machines
> failed. I thought it might be my new binutils :-). It has to be fixed.
I just tested the official gcc-3.2.tar.gz release from ftp.gnu.org and
it works for me.
=== libjava Summary ===
# of expected passes 2075
# of expected failures 18
# of untested testcases 14
See: http://gcc.gnu.org/ml/gcc-testresults/2002-08/msg00489.html
This was on a i686-pc-linux-gnu machine running:
Debian GNU/Linux testing/unstable
Linux 2.4.18
binutils Version: 2.12.90.0.15-1
glibc Version: 2.2.5-13
With the following configure flags:
--enable-clocale=gnu --enable-shared --enable-threads=posix
--enable-languages=c++,java --prefix=/usr/local/gcc32
I know that at least for the CVS HEAD (3.3) you will need the above
binutils on powerpc-unknown-linux-gnu and maybe other architectures.
One thing that I always do before running 'make check -k' is a 'make
install' because in the past the tests sometimes picked up the wrong
libgcj.jar to test against. Maybe that is still needed. If you haven't
done a 'make install' yet could you do that and then run make check in
the libjava subdir? Otherwise try updating your binutils to 2.12.90.0.15
or higher and rebuild everything with that.
Thanks,
Mark