This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ 3.3 LEAKS Throwable & Derived Classes
Andi Vajda writes:
>
> On Sat, 19 Nov 2005, Andrew Haley wrote:
>
> > Andi Vajda writes:
> > >
> > > The capability I'm most interested in is creating a shared library that is
> > > statically linked with libgcj.a. So far, I've only been able to do this with
> > > gcj 3.4.2 and gcj 3.4.4 on Windows.
> >
> > What do you mean, exactly? Did you try in on some other OS and have
> > it fail?
>
> I mean creating a .so linked statically with libgcj.a. That way, I
> link in only what I use from libgcj and create a much smaller
> shared library. Yes, that prevents dynamic class loading but my app
> doesn't do that. I tried it on Linux and Mac OS X with gcj 3.4.3
> and the process crashes instantly upon loading the resulting .so (a
> python extension). I haven't tried it yet with the latest gcc 4.1
> snapshot, I should have more details once I do.
OK. Well I don't know of anything that we have done that might cause
such a problem. I can understand it failing to find some classes, but
not such a random crash.
Andrew.