Re: gcj onLinux, 32 and 64 bit executables.

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.help,gmane.comp.gcc.java.devel,gmane.comp.programming.garbage-collection.boehmgc
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.