This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Java programs segfault on exit
- To: java at gcc dot gnu dot org
- Subject: Java programs segfault on exit
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- Date: Tue, 24 Apr 2001 20:49:06 +0100 (BST)
- Cc: gcc at gcc dot gnu dot org, mgd at swarm dot org (Marcus G. Daniels)
- References: <m2g0eyqqty.fsf@marcus.santafe.edu>
At the present time, gcj (x86 Linux) on the trunk is not working.
Every Java programs crashes at exit. This is because the routine
gnu.gcj.runtime.FileDeleter.deleteOnExitNow() is being miscompiled at
-O2.
This will cause gcj tests to fail or hang.
I guess this is an optimizer bug rather than specifically a gcj bug,
but I can't be sure until I've found it. I'm working on this problem
at the moment and I'll post more information as soon as I know, but it
won't be before tomorrow.
In the meantime, if anyone needs to get a gcj that works, please
recompile gnu/gcj/runtime/FileDeleter at -O0.
Thanks to Marcus Daniels for the heads up.
Andrew.