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


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

Re: Java programs segfault on exit


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 ]


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