Bug 36658 - Building gcj for arm linux from trunk (gcc 4.4.0): libjava/gcj/array.h:24: internal compiler error: verify_gimple failed
Summary: Building gcj for arm linux from trunk (gcc 4.4.0): libjava/gcj/array.h:24: in...
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 20:19 UTC by Francesco
Modified: 2010-03-20 00:02 UTC (History)
2 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: arm-unknown-linux-gnueabi
Build: i686-pc-linux-gnu
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 Francesco 2008-06-27 20:19:46 UTC
I'm getting the following error/bug when I try to cross compile gcj for ARM Linux from trunk (gcc 4.4.0).

This works fine using gcc 4.3.0 and 4.3.1


In file included from ../../../libjava/java/lang/String.h:10,
                 from ../../../libjava/java/lang/Class.h:19,
                 from ../../../libjava/gcj/cni.h:17,
                 from ../../../libjava/jni-libjvm.cc:11:
../../../libjava/gcj/array.h: In constructor '__JArray::__JArray()':
../../../libjava/gcj/array.h:24: error: non-trivial conversion at assignment
void
struct __JArray * const
<retval> = this
../../../libjava/gcj/array.h:24: internal compiler error: verify_gimple failed
Please submit a full bug report,
with preprocessed source if appropriate.
make[3]: *** [jni-libjvm.lo] Error 1
make[3]: Leaving directory `/media/disk/trunk/gtk-peer/arm-linux-gnueabi/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/media/disk/trunk/gtk-peer/arm-linux-gnueabi/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/media/disk/trunk/gtk-peer'
make: *** [all] Error 2


Configured with:

--prefix=/media/disk/gcc-inst --with-sysroot=/root/tmp/f8/rootfs-f8 --disable-libssp --disable-libgomp --disable-libmudflap --enable-libgcj --disable-bootstrap --disable-multilib --disable-sjlj-exceptions --target=arm-linux-gnueabi --enable-languages=c,c++,java --with-build-time-tools=/root/tmp/f8/binutils/arm-linux-gnueabi/bin --with-ld=/root/tmp/f8/binutils/arm-linux-gnueabi/bin/ld --with-nm=/root/tmp/f8/binutils/arm-linux-gnueabi/bin/nm --with-strip=/root/tmp/f8/binutils/arm-linux-gnueabi/bin/strip --with-as=/root/tmp/f8/binutils/arm-linux-gnueabi/bin/as --with-float=soft --enable-java-awt=gtk
Comment 1 Ramana Radhakrishnan 2009-04-29 13:58:15 UTC
Could you check with a version of more recent vintage and provide more information like the svn revision number ? 
Comment 2 Debian GCC Maintainers 2009-05-18 07:33:31 UTC
a native build for arm-linux-gnueabi works fine in 4.4.0, e.g.

https://buildd.debian.org/fetch.cgi?&pkg=gcj-4.4&ver=4.4.0-2&arch=armel&stamp=1241854512&file=log

  Matthias
Comment 3 Ramana Radhakrishnan 2009-12-11 18:19:34 UTC
No feedback in over a year and don't have more information . Hence Suspended.
Comment 4 Ramana Radhakrishnan 2010-03-20 00:02:33 UTC
No further feedback in more than 3 months.