From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14414 invoked by alias); 27 Jul 2009 16:02:37 -0000 Received: (qmail 14259 invoked by uid 22791); 27 Jul 2009 16:02:34 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-bw0-f211.google.com (HELO mail-bw0-f211.google.com) (209.85.218.211) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 27 Jul 2009 16:02:28 +0000 Received: by bwz7 with SMTP id 7so2710012bwz.8 for ; Mon, 27 Jul 2009 09:02:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.134.17 with SMTP id l17mr3328682mun.125.1248710545128; Mon, 27 Jul 2009 09:02:25 -0700 (PDT) Date: Mon, 27 Jul 2009 16:02:00 -0000 Message-ID: Subject: converting a jar into a shared lib - requirements ? From: David Michel To: java@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00074.txt.bz2 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 for instructions. For Debian GNU/Linux specific bug reporting instructions, see . What are the requirements for a jar to be "convertible" into shared lib ? I must be missing something trivial there !.... Cheers David