Creating and using GCJ ARM cross compiler

Matthias Klose doko@ubuntu.com
Mon Apr 21 17:22:00 GMT 2008


Andrew Haley schrieb:
> I can't even build an ARM x-compiler from ubuntu/gcc-4_2-branch:
> 
>  /home/aph/ubuntu/gcc-4_2-branch/install/arm-linux/sys-include -O2  -O2 -g -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fomit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/home/aph/gcc/ubuntu/gcc-4_2-branch/gcc -I/home/aph/gcc/ubuntu/gcc-4_2-branch/gcc/. -I/home/aph/gcc/ubuntu/gcc-4_2-branch/gcc/../include -I/home/aph/gcc/ubuntu/gcc-4_2-branch/gcc/../libcpp/include  -I/home/aph/gcc/ubuntu/gcc-4_2-branch/gcc/../libdecnumber -I../libdecnumber -fexceptions -fvisibility=hidden -DHIDE_EXPORTS -c /home/aph/gcc/ubuntu/gcc-4_2-branch/gcc/gthr-gnat.c -o libgcc/./gthr-gnat.o
> /home/aph/gcc/ubuntu/gcc-4_2-branch/gcc/unwind-dw2.c: In function 'init_dwarf_reg_size_table':
> /home/aph/gcc/ubuntu/gcc-4_2-branch/gcc/unwind-dw2.c:1396: internal compiler error: in arm_dbx_register_number, at config/arm/arm.c:15296

http://lists.debian.org/debian-gcc/2008/03/msg00466.html
http://buildd.debian.org/fetch.cgi?&pkg=gcc-4.2&ver=4.2.3-3&arch=armel&stamp=1206500800&file=log

this build log doesn't show the java build, but this error is reported during
the gcc bootstrap.

there are some arm specific patches applied on top:
http://svn.debian.org/wsvn/gcccvs/branches/sid/gcc-4.2/debian/patches/?rev=0&sc=0

  Matthias



More information about the Java mailing list