Re: Creating and using GCJ ARM cross compiler

Matthias Klose <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Andrew Haley schrieb:
> Matthias Klose wrote:
>> 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
> 
> OK.  I'm not even going to bother asking why the patches aren't
> on the branch.

ohh, many packaging systems do this =)

> I don't see any gcj test results there.  Is it known to work?

no testsuite failures; sorry, currently my arm box doesn't boot, so I can't get
to the test summary.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.