Re: gcj v4.8.3 on Cygwin

Bodo Thiesen <[email protected]> Fri, 8 Aug 2014 14:52:54 +0200
Newsgroups gmane.comp.gcc.java.devel
Message-ID <20140808145254.04e6d9c9@phenom>
* Andrew Haley <[email protected]> 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