#418 closed defect (fixed)

[ada] rtems.adb does not compile

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: normal Milestone: 2
Component: unspecified Version: 4.6
Severity: major Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

rtems.adb does not compile, e.g.: hello.ada:

i386-rtems-gcc -c -I../../../../../../../../rtems.orig/c/src/ada-tests/samples/hello/ -B../../../../../lib/ -B../../../../../pck6/lib/ -specs bsp_specs -qrtems
-I../../../../../lib/include/adainclude -I../../../../../pck6/lib/include/adainclude -I../../../../../../../../rtems.orig/c/src/ada-tests/support -isystem ../../../../../pck6/lib/include -mcpu=k6 -O4 -g -Wall -I- ../../../../../pck6/lib/include/adainclude/rtems.adb
rtems.adb:1668:07: assignment to "in" mode parameter not allowed
i386-rtems-gnatmake: "../../../../../pck6/lib/include/adainclude/rtems.adb" compilation error

Release:
RTEMS-CVS + RTEMS-4.6

Environment:
gcc3.2.3newlib1.11.0 + binutils-2.13.2

How-To-Repeat:
configure --target=i386-rtems --enable-posix --disable-itron --disable-networking --enable-maintainer-mode --disable-multilib --enable-ada
make RTEMS_BSP=pc386

I can reproduce this bug for the sparc and the i386, but have not tried other targets yet.

Change History (2)

comment:1 Changed on Jul 8, 2003 at 3:38:51 PM by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: analyzed->closed
State-Changed-Why: Patch appears to resolve problem. Committed to mainline and 4.6 branch.

comment:2 Changed on Oct 10, 2017 at 6:35:44 AM by Sebastian Huber

Component: miscunspecified
Note: See TracTickets for help on using tickets.