[Gc] Re: gcj onLinux, 32 and 64 bit executables.

Andrew Haley aph at redhat.com
Sun Nov 13 08:35:17 PST 2011


On 11/12/2011 08:38 PM, Johann 'Myrkraverk' Oskarsson wrote:
> With GCC 4.6.2 on OpenIndiana 151a (Solaris) the boehm gc segfaults in
> os_dep.c:810 when JNI_CreateJavaVM() is called.  The attached
> invocation example (as small as I think I can make it) is a complete
> example.
>
> Is this the right place to discuss this issue?

Yes.

> I thought of merging boehm gc 7.1 into the gcc source tree, but this
> seems non-trivial.  In particular it's not possible just to make it
> a drop-in replacement.
>
> Is there a way to have GCJ use a system supplied boehm gc?

Not really, no.  GCC is in Stage 3, so the only reasonable way to get
this fixed is a self-contained patch.

Do you have any reason to suspect that merging gc 7.1 might help?

Andrew.



More information about the Gc mailing list