[Bug java/53982] gij built for x32 can't run a simple Hello World class

dschepler at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 16 15:54:00 GMT 2012


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

--- Comment #2 from Daniel Schepler <dschepler at gmail dot com> 2012-07-16 15:53:41 UTC ---
(In reply to comment #1)
> Please show us how to reproduce it.

I assume you mean the heap corruption issue in ecj1?  To pick a Debian package
at random which is running into this... download the source package from
http://ftp.egr.msu.edu/debian/pool/main/libj/libjpedal-jbig2-java/libjpedal-jbig2-java_20100117.orig.tar.gz
and unpack.  Then run
gcj -C -Wall `find org -name *.java | LC_COLLATE=C sort`

Here, the output ends with
org/jpedal/jbig2/decoders/MMRDecoder.java:189: warning: The declared exception
IOException is not acecj1: arena.c:661: heap_trim: Assertion `p->size ==
(0|0x1)' failed.
gcj: internal compiler error: Aborted (program ecj1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcj-4.7/README.Bugs> for instructions.



More information about the Gcc-bugs mailing list