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.

-- 
           Summary: gcj fails to compile Apache ant, resulting in "Bus
                    error"
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dog at bluezoo dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: powerpc-apple-darwin7.8.0
  GCC host triplet: powerpc-apple-darwin7.8.0
GCC target triplet: powerpc-apple-darwin7.8.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20158

Reply via email to