Java programs segfault on exit
Andrew Haley
aph@cambridge.redhat.com
Wed Apr 25 02:09:00 GMT 2001
Bryce McKinlay writes:
> On Wednesday, April 25, 2001, at 07:49 AM, Andrew Haley wrote:
>
> > 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.
>
> It has been doing this (on the trunk, not the branch) for some time.
> IIRC the existing hypothesis was that it had to do with exit() and
> pthreads and the order in which things were being linked by libtool.
I don't think so.
> However, if its a miscompilation then that might better explain why it
> occurs on the trunk but not the branch (but not why it doesn't occur
> with static linking, unless its a PIC thing).
Only PIC code is being miscompiled.
Andrew.
More information about the Java
mailing list