This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


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

Java programs segfault on exit


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.


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