This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: converting a jar into a shared lib - requirements ?
- From: Andrew Haley <aph at redhat dot com>
- To: David Michel <dmichel76 at googlemail dot com>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 27 Jul 2009 18:55:58 +0200
- Subject: Re: converting a jar into a shared lib - requirements ?
- References: <b5bf7a380907270902m712cff52j133a3a9b4feccc51@mail.gmail.com>
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.