public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "jbarnett at 2wire dot com" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/16658] New: errors compiling saxon xslt library Date: Wed, 21 Jul 2004 17:26:00 -0000 [thread overview] Message-ID: <20040721172610.16658.jbarnett@2wire.com> (raw) I'm trying to use gcj to compile the saxon xslt java library (version 6.5.3) from source. gcj -v reports: Reading specs from /opt/cross/i386/lib/gcc/i686-tw-linux-gnu/3.4.1/specs Reading specs from /opt/cross/i386/lib/gcc/i686-tw-linux-gnu/3.4.1/../../../../i686-tw-linux-gnu/lib/libgcj.spec rename spec lib to liborig Configured with: /home/jcpage/depot/mp/tools/gcc-3.4.1/configure --target=i686-tw-linux-gnu --host=i686-pc-linux-gnu --prefix=/opt/cross/i386 --enable-languages=c,c++,java --disable-nls --enable-shared --enable-threads=posix --enable-c99 --enable-long-long --with-headers=/opt/cross/i386/i686-tw-linux-gnu/include Thread model: posix gcc version 3.4.1 The first error I run into is in the com.icl.saxon.om package (it actually happens with all files in the package, but I'll only include commands and output for AbstractNode.java-the first source file): with a cwd of src/com/icl/saxon/om, I try to run: gcj -Wno-deprecated -I./../../../../ -Ixml-apis/src -c AbstractNode.java -o AbstractNode.o and get the following error: ./AbstractNode.java:33: error: Class `com.icl.saxon.om.AbstractNode' already defined in AbstractNode.java:33. public abstract class AbstractNode implements Node, NodeInfo, SourceLocator, DOMLocator { ^ ./AbstractNode.java:154: confused by earlier errors, bailing out I can work around that error by running the following command with a CWD of src/: gcj -Wno-deprecated -Ixml-apis/src -c com/icl/saxon/om/AbstractNode.java -o AbstractNode.o After working around this for all files in the om package: I get the following error in the com.icl.saxon.tree package: When compiling ElementImpl.java: gcj -Wno-deprecated -I./../../../../ -Ixml-apis/src -c ElementImpl.java -o ElementImpl.o ElementImpl.java: In class `com.icl.saxon.tree.ElementImpl': ElementImpl.java: In method `com.icl.saxon.tree.ElementImpl.setNameCode(int)': ElementImpl.java:48: internal compiler error: in expand_expr_real, at expr.c:7090 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. all other files in the package build succesfully. running gcj with -save-temps only appears to generate .s files, so I will refrain from attaching any files unless specifically asked to. the saxon source I am using is available from http://prdownloads.sourceforge.net/saxon/saxon6_5_3.zip in the source.zip archive inside of the saxon6_5_3 archive. The xml-apis source that needs to be included in the classpath is available from http://apache.mirrors.versehost.com/xml/commons/xml-commons-1.0.b2.tar.gz in the xml-commons-1.0.b2/java/external/src/ subdirectory of the archive. -- Summary: errors compiling saxon xslt library Product: gcc Version: 3.4.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jbarnett at 2wire dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16658
next reply other threads:[~2004-07-21 17:26 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-07-21 17:26 jbarnett at 2wire dot com [this message] 2004-07-21 17:57 ` [Bug java/16658] " jbarnett at 2wire dot com 2004-07-22 17:01 ` jbarnett at 2wire dot com 2004-09-08 21:50 ` jbarnett at 2wire dot com 2004-09-08 22:45 ` tromey at gcc dot gnu dot org 2004-09-08 23:28 ` jbarnett at 2wire dot com 2004-09-08 23:57 ` tromey at gcc dot gnu dot org 2004-09-09 0:01 ` jbarnett at 2wire dot com 2004-09-09 14:48 ` tromey at gcc dot gnu dot org 2004-09-09 16:38 ` pinskia at gcc dot gnu dot org 2004-10-15 17:16 ` jbarnett at 2wire dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040721172610.16658.jbarnett@2wire.com \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).