This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

All libjava testcases fail when building gcc 4


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]