From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1004 invoked by alias); 13 Nov 2011 16:35:37 -0000 Received: (qmail 898 invoked by uid 22791); 13 Nov 2011 16:35:37 -0000 X-SWARE-Spam-Status: No, hits=-7.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_GC X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 13 Nov 2011 16:35:20 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pADGZKQA010675 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 13 Nov 2011 11:35:20 -0500 Received: from zebedee.pink (ovpn-113-49.phx2.redhat.com [10.3.113.49]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id pADGZHhX021207; Sun, 13 Nov 2011 11:35:18 -0500 Message-ID: <4EBFF1C5.80806@redhat.com> Date: Sun, 13 Nov 2011 16:35:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Thunderbird/3.1.15 MIME-Version: 1.0 To: Me Myself and I CC: gcc-help@gcc.gnu.org, java@gcc.gnu.org, "gc@napali.hpl.hp.com" Subject: Re: gcj onLinux, 32 and 64 bit executables. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg00001.txt.bz2 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.