This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj onLinux, 32 and 64 bit executables.
- From: Andrew Haley <aph at redhat dot com>
- To: Me Myself and I <stargate7thsymbol at live dot co dot uk>
- Cc: gcc-help at gcc dot gnu dot org, java at gcc dot gnu dot org, "gc at napali dot hpl dot hp dot com" <gc at napali dot hpl dot hp dot com>
- Date: Sun, 13 Nov 2011 16:35:17 +0000
- Subject: Re: gcj onLinux, 32 and 64 bit executables.
- References: <BAY159-W24080BB666923C4DD9D7D5D0040@phx.gbl>
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.