This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

*-rtems status on head was Re: cross newlib builds on svn head




Thanks to Paolo Bonzini's patch, I can get much further and now have more to report. :)

The Good
========
h8300-rtems4.7 - C, C++ build OK (Ada not tried)
i386-rtems4.7 - C, C++, Ada build OK
m68k-rtems4.7 - C, C++, Ada build OK
sh-rtems4.7 - C, C++ build OK (Ada not tried)
sparc-rtems4.7 - C, C++, Ada build OK.

The Bad
=======
avr-rtems4.7 - ICE on C
arm-rtems4.7 - ada/rts/raise.c does not compile
mips-rtems4.7 - GNAT bug box at a-calend.adb:480:24
mips64-rtems4.7 - GNAT bug box at a-calend.adb:480:24
powerpc-rtems4.7 - GNAT bug box at a-calend.adb:480:24

The Details
===========
arm-rtems4.7 - C, C++ OK.  Ada fails with this:

../../xgcc -B../../ -c -DCROSS_COMPILE -DIN_GCC `echo -g -O2 -Dinhibit_libc -fno-inline -fexceptions -DIN_RTS |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'` \
-I. -I.. -I../.. -I/home/joel/gcc-work/head/gcc-head-test/gcc/ada -I/home/joel/gcc-work/head/gcc-head-test/gcc/ada/../config -I/home/joel/gcc-work/head/gcc-head-test/gcc/ada/../../include -I/home/joel/gcc-work/head/gcc-head-test/gcc/ada/.. -I./../.. raise.c -o raise.o
raise.c: In function 'db':
raise.c:233: error: 'va_list' undeclared (first use in this function)
raise.c:233: error: (Each undeclared identifier is reported only once
raise.c:233: error: for each function it appears in.)
raise.c:233: error: expected ';' before 'msg_args'
raise.c:237: error: 'msg_args' undeclared (first use in this function)
raise.c: In function 'get_region_description_for':
raise.c:595: warning: pointer targets in assignment differ in signedness


I haven't had a chance to investigate why this doesn't compile.

avr-rtems4.7 - C dies with an ICE

./../../../../../gcc-head-test/newlib/libc/misc/init.c: In function '__libc_fini_array':
../../../../../../gcc-head-test/newlib/libc/misc/init.c:59: error: unable to find a register to spill in class 'BASE_POINTER_REGS'
../../../../../../gcc-head-test/newlib/libc/misc/init.c:59: error: this is the insn:
(insn 65 32 33 2 ../../../../../../gcc-head-test/newlib/libc/misc/init.c:56 (set (mem/c:HI (plus:HI (reg/f:HI 28 r28)
(const_int 1 [0x1])) [5 S2 A8])
(reg:HI 24 r24)) 12 {*movhi} (nil)
(nil))
../../../../../../gcc-head-test/newlib/libc/misc/init.c:59: internal compiler error: in spill_failure, at reload1.c:1890


mips64-rtems4.7, mips-rtems4.7, and powerpc-rtems4.7 all die in Ada at the same spot.

../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg a-calend.adb -o a-calend.o
+===========================GNAT BUG DETECTED===================+
| 4.1.0 20051102 (experimental) (mips-unknown-rtems4.7) GCC error: |
| tree check: expected class |
| Error detected at a-calend.adb:480:24



Advice, patches always appreciated.


--
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]