This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.2.3-pre tarball 2: libjava build still fails on sparc-sun-solaris2.8
> I did another build and it worked; this time I tried setting both
> SHELL and CONFIG_SHELL to /bin/ksh (previously I only had set
> CONFIG_SHELL). I still don't know why I got a failure, but there is
> no error message because it is explicitly suppressed; I don't know
> if it is an intermittent error but I can't make it happen again.
I never set SHELL and I've never run into a problem similar to yours. Weird.
> I get two XPASSes you don't for g++, evidently because I'm using GNU ld.
> You have an extra libjava failure (Thread_Interrupt) and an extra
> libstdc++ failure (timeout for thread/pthread4.cc).
Here's the libjava failure:
Executing on host:
/opt/build/eric/gcc-3_2-branch/sparc-sun-solaris2.8/libjava/testsuite/../libtool
--silent --tag=GCJ --mode=link /opt/build/eric/gcc-3_2-branch/gcc/gcj
-B/opt/build/eric/gcc-3_2-branch/gcc/ --encoding=UTF-8
-B/opt/build/eric/gcc-3_2-branch/sparc-sun-solaris2.8//libjava/
/opt/build/eric/gcc-3_2-branch/src/libjava/testsuite/libjava.lang/Thread_Interrupt.java
-no-install --main=Thread_Interrupt -O -g
-L/opt/build/eric/gcc-3_2-branch/sparc-sun-solaris2.8//libjava/.libs
-L/opt/build/eric/gcc-3_2-branch/sparc-sun-solaris2.8//boehm-gc/.libs -lm
-o
/opt/build/eric/gcc-3_2-branch/sparc-sun-solaris2.8/libjava/testsuite/Thread_Interrupt
(timeout = 300)
PASS: Thread_Interrupt -O compilation from source
wait()
interrupted - ok
sleep()
interrupted - ok
Busy waiting
Error: Busy wait was not interrupted.
join()
interrupted - ok
PASS: Thread_Interrupt -O execution from source compiled test
FAIL: Thread_Interrupt -O output from source compiled test
PASS: Thread_Interrupt byte compilation
Interestingly, if I manually compile and run the test, it doesn't fail:
gax%
/opt/build/eric/gcc-3_2-branch/sparc-sun-solaris2.8/libjava/testsuite/../libtool
--silent --tag=GCJ --mode=link /opt/build/eric/gcc-3_2-branch/gcc/gcj
-B/opt/build/eric/gcc-3_2-branch/gcc/ --encoding=UTF-8
-B/opt/build/eric/gcc-3_2-branch/sparc-sun-solaris2.8//libjava/
/opt/build/eric/gcc-3_2-branch/src/libjava/testsuite/libjava.lang/Thread_Interrupt.java
-no-install --main=Thread_Interrupt -O -g
-L/opt/build/eric/gcc-3_2-branch/sparc-sun-solaris2.8//libjava/.libs
-L/opt/build/eric/gcc-3_2-branch/sparc-sun-solaris2.8//boehm-gc/.libs -lm
-o
/opt/build/eric/gcc-3_2-branch/sparc-sun-solaris2.8/libjava/testsuite/Thread_Interrupt
gax% ./Thread_Interrupt
wait()
interrupted - ok
sleep()
interrupted - ok
Busy waiting
interrupted - ok
join()
interrupted - ok
--
Eric Botcazou