tcort@village tcort $ gcj --main=hello hello.java hello.java:1: Internal compiler error in make_class_data, at java/class.c:1676 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. tcort@village tcort $ tcort@village tcort $ cat hello.java public class hello { public static void main(String [] args) { System.out.println("hello"); } } tcort@village tcort $ tcort@village tcort $ gcc --version gcc (GCC) 3.2.2 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. tcort@village tcort $
I cannot reproduce this on i686-pc-linux-gnu with 3.2.3, 3.04, 3.3.1 (), or the mainline (). Could you give the output of `gcj -v' or could you try 3.3 and give the output of `gcj -v'?
tcort@village tcort $ gcj -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libgcj.spec rename spec lib to liborig Configured with: /var/tmp/portage/gcc-3.2.2/work/gcc-3.2.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext Thread model: posix gcc version 3.2.2 tcort@village tcort $
Could you test 3.2.3 as I could not repoduce your problem with it, also I could not repoduce it with a 3.2.2 release from the FSF so I am going to close as it works for me, try get an unmodified release from the fsf or report your problem to your distro.