Bug 20158 - gcj fails to compile Apache ant, resulting in "Bus error"
Summary: gcj fails to compile Apache ant, resulting in "Bus error"
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-23 08:35 UTC by dog@bluezoo.org
Modified: 2007-12-02 21:20 UTC (History)
2 users (show)

See Also:
Host: powerpc-apple-darwin7.8.0
Target: powerpc-apple-darwin7.8.0
Build: powerpc-apple-darwin7.8.0
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dog@bluezoo.org 2005-02-23 08:35:34 UTC
To reproduce:

1. Download apache-ant-1.6.2-bin.tar.gz from
http://ant.apache.org/bindownload.cgi and unpack

2. Extract the contents of all jars in the lib directory to a temporary
directory, and re-jar into a single jar all.jar

3. Run gcj on the jar:

  gcj -o ant --main=org.apache.tools.ant.launcher -findirect-dispatch all.jar

Result:

org/apache/tools/ant/filters/BaseFilterReader.java:199: internal compiler error:
Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment 1 Andrew Pinski 2005-08-23 02:06:01 UTC
Does this still happen?
Comment 2 Tom Tromey 2007-01-30 20:26:38 UTC
FWIW we're building ant frequently in Fedora.
But ... does this still fail for you?
Comment 3 Andrew Pinski 2007-12-02 21:20:11 UTC
No feedback in way over 3 months so closing as worksforme.