This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: Small example of livelock regression in garbage collector for GCJ 3.3 under Win32
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: "'Andrew Haley'" <aph at redhat dot com>
- Cc: <java at gcc dot gnu dot org>
- Date: Tue, 20 May 2003 19:33:05 +0200
- Subject: RE: Small example of livelock regression in garbage collector for GCJ 3.3 under Win32
> > Division by zero can also cause the application to
> terminate > (as well as livelock). >
> > If I add "throw new NullPointerException();" I do not see
> the problem.
>
> Your libgcj has been built incorrectly. It is essential that
> -fcheck-references and -fuse-divide-subroutine are used at
> all times and that libgcj is built with these compiler
> options. libgcj/configure.host should set these options where
> necessary. As far as I can see, it does.
There's a nasty tripwire if I ever saw one.
\thisiscool-gcc\gcc-3.3\bin\gcj -v
Reading specs from
\thisiscool-gcc\gcc-3.3\bin\..\lib\gcc-lib\i686-pc-mingw32\3.
3.1\specs
Reading specs from
\thisiscool-gcc\gcc-3.3\bin\..\lib\gcc-lib\i686-pc-mingw32\3.
3.1\..\..\..\libgcj.spec
rename spec lib to liborig
Configured with: /datal/gcc/gcc/configure
--prefix=/datal/gcc/build/wingcc --bui
ld=i686-pc-linux-gnu --host=i686-pc-mingw32 --target=i686-pc-mingw32
--enable-la
nguages=c,c++,java --with-gcc --with-gnu-as --with-gnu-ld
--with-as=i686-pc-ming
w32-as --with-ld=i686-pc-mingw32-ld --enable-threads=win32 --disable-nls
--disab
le-win32-registry --disable-shared --disable-debug --disable-multilib
--without-
newlib --enable-libgcj --disable-java-awt --without-x
--enable-java-gc=boehm --d
isable-libgcj-debug --enable-interpreter --enable-hash-synchronization
Thread model: win32
gcc version 3.3.1 20030516 (prerelease)