I was abel to compile gcc-3.4.3.20050110 with both gcj and multilib in USE. But the interpretor gij will always exit whith SIGABRT even on a simpel class like a Hello world. Reproducible: Always Steps to Reproduce: 1. install gcc using "USE="gcj multilib" emerge gcc" 2. create a Hello World class in your favorite text editor name it Test 3. compile the class with "gcj -C Test.java" or "javac Test.java" 4. run "gcj Test" Actual Results: "Avbruten (SIGABRT)" is printed to the consol. (Avbruten is swedich and means Aborted, this is changed due to my locale settings) Expected Results: The class shuld be interpreted successfully and printed "Hello World!" # cat Test.java public class Test { public static void main(String[] args) { System.out.println("Hello world!"); System.exit(0); } } # emerge info Portage 2.0.51-r13 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 x86_64) ================================================================= System uname: 2.6.10-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 22 2004, 17:04:02)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1, 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="ftp://mirror.pudas.net/gentoo http://mirror.pudas.net/gentoo http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa apache2 audiofile avi berkdb bitmap-fonts bonobo cdparanoia cdr cjk crypt cups divx4linux dvd dvdr emul-linux-x86 encode esd f77 fam fla flac font-server fortran ftp gcj gdbm gif gnome gpm gtk gtk2 gtkhtml imagemagick imlib insecure-drivers java jp2 jpeg junit libwww lzw lzw-tiff mad mikmod mpeg msn multilib mysql ncurses network nls no-old-linux offensive oggvorbis opengl operanom2 pdflib php png posix pthreads python radeon readline rtc samba sdl slang sockets spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vanilla videos vim xine xml xml2 xpm xrandr xv xvid zlib" Unset: LDFLAGS
is this the case with 3.4.3-r1 (same use flags)? What about with USE=-multilib?
same thing with USE="-emul_linux_x86 -miltilib" I am about to downgrade gcc now
same on 3.4.3-r1 also (with USE="multilib emul-linux-x86")
ok, is there a version it did work with?
It don't seems so I tride 2.3.3-r2 (without multilib as it won't compile with) it stills exits with SIGABRT
Ok, I'm gonna chuck this up to general 'gcj sucks' and ask that you work with upstream to fix it if you're interested as it's not a regression. You can file a bug at gcc.gnu.org/bugzilla
Upstreame to: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19586