public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "bojan at antonovic dot com" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/18212] New: nativ compilation with multiple jars fails / gives internal compiler error
Date: Thu, 28 Oct 2004 22:10:00 -0000	[thread overview]
Message-ID: <20041028221045.18212.bojan@antonovic.com> (raw)

given: A.jar, B.jar and X.jar. X.jar depends on A.jar and B.jar.

wanted: nativ compiled X.jar to a.out and x.exec

1 given jar:

working: gcj --main=A.main A.jar
working: gcj -o a.exec --main=A.main A.jar

multiple given jars:

working: gcj --classpath:A.jar:B.jar:. --main=X.main X.jar A.jar B.jar
working: gcj --classpath:A.jar:B.jar:. --main=X.main X/main.class A.jar B.jar

failing:  gcj -o x.exec --classpath:A.jar:B.jar:. --main=X.main X.jar A.jar B.jar
crashing: gcj -o x.exec --classpath:A.jar:B.jar:. --main=X.main X/main.class
A.jar B.jar

When its failing, it compiles other things:
java/awt/Component.java: In class `java.awt.Component':
java/awt/Component.java: In method `java.awt.Component.eventTypeEnabled(int)':
java/awt/Component.java:4127: error: expected type 'int' but stack contains 'void'
java/awt/Component.java:4127: error: verification error at PC=311
java/awt/Component.java:4127: error: types could not be merged
^Cmake: *** [exe] Interrupt

The crash ends in an internal compiler error: Bus error.

I builded GCJ myself. See: http://gcc.gnu.org/ml/gcc/2004-09/msg00677.html

Bojan

-- 
           Summary: nativ compilation with multiple jars fails / gives
                    internal compiler error
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bojan at antonovic 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=18212


             reply	other threads:[~2004-10-28 22:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-28 22:10 bojan at antonovic dot com [this message]
2004-10-29 13:08 ` [Bug java/18212] " pinskia at gcc dot gnu dot org
2004-10-29 14:20 ` bojan at antonovic dot com
2004-11-08 16:29 ` bojan at antonovic dot com
2004-12-01 21:59 ` tromey at gcc dot gnu dot org
2005-01-31  6:54 ` pinskia at gcc dot gnu dot org
2005-03-07 17:11 ` bojan at antonovic dot com
2005-03-07 19:21 ` bojan at antonovic dot com
2005-03-09 14:37 ` rmathew at gcc dot gnu dot org
2005-03-09 14:40 ` rmathew at gcc dot gnu dot org
2005-04-16 22:03 ` pinskia at gcc dot gnu dot org

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=20041028221045.18212.bojan@antonovic.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: link
Be 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).