This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
All libjava testcases fail when building gcc 4
- From: Travis Spencer <travislspencer at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 1 Jul 2005 00:11:09 -0700
- Subject: All libjava testcases fail when building gcc 4
- Reply-to: Travis Spencer <travislspencer at gmail dot com>
I am trying to compile gcc 4.0.0 with support for java on a Sun sparc
running Solaris 9. I have configured it and built it just fine.
Also, all of the tests (i.e., the C and C++ stuff) pass except the
libjava test; each of the individual testcases in the Java suite fail.
I configured gcc like this:
configure \
--prefix=$prefix \
--enable-languages="c,c++,java" \
--disable-werror \
--disable-multilib
After compilation is complete, I can use the gcj compiler in the gcc
subdirectory that I built the compiler in (e.g., `$(build_dir)/gcc/gcj
-c $(src_dir)/libjava/testsuite/libjava.compile/AssertBug.java' works
just fine). However, when I run `make check-target-libjava' in
$(build_dir), I get these results:
http://travisspencer.com/stash/tmp/runtest.txt
When I run the tests like this `cd
$(build_dir)/sparc-sun-solaris2.9/libjava/testsuite && runtest
INTERPRETER=yes --tool libjava --srcdir $(src_dir)/libjava/testsuite
--tool_exec $(build_dir)/gcc/gcj --verbose --strace --debug -a', I get
these results:
http://travisspencer.com/stash/tmp/runtest_debug.txt
I would really appreciate any help that anyone may have.
--
Regards,
Travis Spencer
Portland, OR USA