This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ application runs not too bad with shared libs, but crasheswith static libs - seems to be in _Jv_MonitorEnter
> Could you try downloading and running
>
> http://dist.xwt.org/xwt-0268.linux.gz
>
> It's statically linked, but it crashed for me with newer glibc's.
> This should help determine if it's your compiler or your system.
>
> - a
I downloaded that, and http://www.xwt.org/demo.xwar
It works fine on my system - no crashing that I could detect.
> > > > It looks to me like there's a race condition somewhere in the
> > "synchronized"
> > > > handling, perhaps due to a bug in glibc.
> > >
> > > Scott, you aren't running Debian unstable or glibc 2.3+ by any chance,
> > > are you? When I briefly upgraded from 2.2.5, I saw static builds
> > > crash all the time. The wierd part was even builds with glibc-2.2.5
> > > statically linked in failed (bizarre!).
> > >
> > > - a
> >
> > My glibc is 2.2.93 - came with Red Hat 8.0