Re: converting a jar into a shared lib - requirements ?
Andrew Haley <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
On 07/27/2009 06:02 PM, David Michel wrote: > Hi All, > > While it works fine most of the tine, I have trouble converting some > jar files into shared lib where I get errors like: > > $ gcj -O0 -g0 -shared java-getopt-1.0.13.jar -o libgetopt-1.0.13.so > gnu/getopt/LongOpt.java: In class 'gnu.getopt.LongOpt': > gnu/getopt/LongOpt.java: In constructor > '(java.lang.String,int,java.lang.StringBuffer,int)': > gnu/getopt/LongOpt.java:103: internal compiler error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://gcc.gnu.org/bugs.html> for instructions. > For Debian GNU/Linux specific bug reporting instructions, > see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>. > > What are the requirements for a jar to be "convertible" into shared > lib ? I must be missing something trivial there !.... Maybe. If you can make an easily reproducible test case from this I'll have a look. You must supply all the files involved, the exact command used, the exact version of gccj, tec. Andrew.