Building RTEMS 4.10.2 with Ada support

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


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

Yet, I could not find in 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 )

>From Ralf Corsepius mail ( ), 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?


More information about the users mailing list