This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Java programs segfault on exit
- To: Andrew Haley <aph at cambridge dot redhat dot com>
- Subject: Re: Java programs segfault on exit
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Wed, 25 Apr 2001 14:54:02 +1200
- Cc: java at gcc dot gnu dot org, gcc at gcc dot gnu dot org, mgd at swarm dot org (Marcus G. Daniels)
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.
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).
regards
[ bryce ]