From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32711 invoked by alias); 21 Jul 2004 07:25:17 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 32687 invoked by uid 48); 21 Jul 2004 07:25:16 -0000 Date: Wed, 21 Jul 2004 07:25:00 -0000 Message-ID: <20040721072516.32685.qmail@sourceware.org> From: "rmathew at gcc dot gnu dot org" To: java-prs@gcc.gnu.org In-Reply-To: <20040721062243.16653.mwteng@hotmail.com> References: <20040721062243.16653.mwteng@hotmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/16653] incompatible type on stack X-Bugzilla-Reason: CC X-SW-Source: 2004-q3/txt/msg00073.txt.bz2 List-Id: ------- Additional Comments From rmathew at gcc dot gnu dot org 2004-07-21 07:25 ------- (In reply to comment #0) > When try running the binary, its failed with ... > org.apache.xercs.parsers.XML11Configuration::configureXML11Pipeline(()V): > incompatible type on stack ... You mean when you execute "a.out", right? This looks like a bytecode verification error... > The way in which the application is built are: > (1) convert two required xml parser jar to object for linking... > e.g. gcj -c -O2 xmlParserAPIs.jar This is a weird usage...you can just specify xmlParserAPIs.jar on the next GCJ command line... > (2) compile the application source and link with those libraries. > e.g. gcj -O2 --main=Main Main.java xmlParserAPIs.o xercesImpl.o > > BTW, I could like to know how to submit a complete report for investigation. You can help by running GCJ's "jcf-dump" (or JDK's "javap") on the class "org.apache.xerces.parsers.XML11Configuration" and pasting the output for the method "configureXML11Pipeline" - do make sure to have the relevant JARs in your CLASSPATH when you run this. For example (on Linux): jcf-dump --classpath xmlParserAPIs.jar -c org.apache.xerces.parsers.XML11Configuration >foo.txt (Note the "-c" flag.) Open "foo.txt" and copy the method body for "configureXML11Pipeline" into this bug report. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16653