Building RTEMS 4.10.2 with Ada support

Jérôme Hugues hugues.jerome at gmail.com
Tue Apr 2 20:50:17 UTC 2013


Hi,

i'd like to build RTEMS 4.10.2 with support for Ada. I ran into this issue

/home/hugues/jerome/build_rtems-4.10/gcc-cross-ada-4.4.7/b-gcc-4.4.7-sparc-rtems4.10/./gcc/xgcc -B/home/hugues/jerome/build_rtems-4.10/gcc-cross-ada-4.4.7/b-gcc-4.4.7-sparc-rtems4.10/./gcc/ -nostdinc -B/home/hugues/jerome/build_rtems-4.10/gcc-cross-ada-4.4.7/b-gcc-4.4.7-sparc-rtems4.10/sparc-rtems4.10/newlib/ -isystem /home/hugues/jerome/build_rtems-4.10/gcc-cross-ada-4.4.7/b-gcc-4.4.7-sparc-rtems4.10/sparc-rtems4.10/newlib/targ-include -isystem /home/hugues/jerome/build_rtems-4.10/gcc-cross-ada-4.4.7/gcc-4.4.7/newlib/libc/include -B/opt/rtems-4.10/sparc-rtems4.10/bin/ -B/opt/rtems-4.10/sparc-rtems4.10/lib/ -isystem /opt/rtems-4.10/sparc-rtems4.10/include -isystem /opt/rtems-4.10/sparc-rtems4.10/sys-include -c -g -O2   -W -Wall -gnatpg   g-socket.adb -o g-socket.o

g-socket.adb:1669:15: duplication of choice value at line 1667 <==

It looks like a known issue from the archive, see
	http://www.rtems.org/pipermail/rtems-users/2010-April/006903.html

Yet, I could not find in http://www.rtems.org/ftp/pub/rtems/SOURCES/4.10/ the tar ball for the Ada front end, and in the patch for gcc 4.4.7 a mention of the patch for Joel that would solve this. As far as I understand, the patch went into GCC 4.5.x. repo at the FSF (see http://www.rtems.org/pipermail/rtems-users/2010-April/006867.html )

>From Ralf Corsepius mail ( http://www.rtems.org/pipermail/rtems-users/2010-April/006903.html ), it looks like the mentioned patches do not address this issue, but other issues in gcc-core only (not the Ada front end)

hence two questions
- Did someone back port the patch pointed by Joel to RTEMS 4.10 toolchain?
- if no, does it mean RTEMS 4.10 cannot support Ada?

Thanks



More information about the users mailing list