From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30834 invoked by alias); 8 Aug 2014 12:53:02 -0000 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 Received: (qmail 30806 invoked by uid 89); 8 Aug 2014 12:53:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.15.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 08 Aug 2014 12:53:00 +0000 Received: from phenom ([87.185.6.130]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MTjqS-1WpIqV1rN2-00QVt6 for ; Fri, 08 Aug 2014 14:52:55 +0200 Date: Fri, 08 Aug 2014 12:53:00 -0000 From: Bodo Thiesen To: java@gcc.gnu.org Subject: Re: gcj v4.8.3 on Cygwin Message-ID: <20140808145254.04e6d9c9@phenom> In-Reply-To: <53E49A00.3070609@redhat.com> References: <1BDD788063F1403483A4E252623AC07C@P5LD2Deluxe> <53E49A00.3070609@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1; X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00002.txt.bz2 * Andrew Haley hat geschrieben: >* On 08/08/14 10:34, kgy wrote: >> gcj -fjni --main=com.all.alldio.dlr.main.StarterClass ./Jars/sndsep.jar >> ./Jars/alldioutil.jar ./Jars/alldio_d2014_moreAM.jar -o diktalo.exe >> gcj --main=com.all.onins.oi.OnlineInputStub ./Jars/sndsep.jar ./Jars/sns.jar >> ./Jars/smws.jar ./Jars/onins.jar -o onins.exe > Clearly it's a bug, but you're going to need a Cygwin expert to debug > it. Possibly, possibly not. I see one distinct difference in the two command lines: -fjni (except for the obvious different jar files). kgy, just to check, whether the segfault remains: Try linking without -fjni (first case) and with -fjni (second case) - at least that's what I would do now to narrow things down in the first step (probably, you'll have to create a dll in the first case for the linking step to succeed). Also, you could try to use some Linux live cd to test, whether you can successfully run the command there. Is it possible for you to strip down the code to a bare minimum, that still segfaults gcj and upload that somewhere and post a link here? Regards, Bodo