public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* converting a jar into a shared lib - requirements ?
@ 2009-07-27 16:02 David Michel
  2009-07-27 16:56 ` Andrew Haley
  0 siblings, 1 reply; 2+ messages in thread
From: David Michel @ 2009-07-27 16:02 UTC (permalink / raw)
  To: java

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 !....

Cheers
David

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: converting a jar into a shared lib - requirements ?
  2009-07-27 16:02 converting a jar into a shared lib - requirements ? David Michel
@ 2009-07-27 16:56 ` Andrew Haley
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2009-07-27 16:56 UTC (permalink / raw)
  To: David Michel; +Cc: java

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-27 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-27 16:02 converting a jar into a shared lib - requirements ? David Michel
2009-07-27 16:56 ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).