This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj v4.8.3 on Cygwin
- From: Bodo Thiesen <bothie at gmx dot de>
- To: java at gcc dot gnu dot org
- Date: Fri, 8 Aug 2014 14:52:54 +0200
- Subject: Re: gcj v4.8.3 on Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <1BDD788063F1403483A4E252623AC07C at P5LD2Deluxe> <53E49A00 dot 3070609 at redhat dot com>
* Andrew Haley <aph@redhat.com> 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