Notice: We have migrated to GitLab launching 2024-05-01 see here:

#257 closed defect (fixed)

c4sim accesses c3x function

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: low Milestone: 2
Component: bsps Version: unknown
Severity: major Keywords:
Cc: bugs@… Blocked By:


Apparent bug in the c4xsim BSP:

Making all in ticker
gmake[3]: Entering directory `/users/rtems/src/rtems-cvs/build/c40/c4x-rtems/c/c4xsim/tests/samples/ticker'
../../../../../c4xsim/lib/librtemsbsp.a(clock.o): In function `Install_clock':
../../../../../../../../../../ undefined reference to `c3x_get_ie'
../../../../../../../../../../ undefined reference to `c3x_set_ie'
collect2: ld returned 1 exit status
gmake[3]: * [o-optimize/ticker.exe] Error 1
gmake[3]: Leaving directory `/users/rtems/src/rtems-cvs/build/c40/c4x-rtems/c/c4xsim/tests/samples/ticker'

The symbols the linker complains about come from c4x.h and are only available for c3x's.

FYI: The c3xsim compiles!


Attachments (1)

pr257.diff (1.2 KB) - added by Ralf Corsepius on 12/03/06 at 13:31:12.

Download all attachments as: .zip

Change History (2)

comment:1 Changed on 09/14/02 at 18:57:20 by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Attached patch committed but uncompiled. I think it is

correct as I checked the IIE bits. The problem is that
the C3x and C4x have similar timers but do not have
the same interrupt enable registers.

Changed on 12/03/06 at 13:31:12 by Ralf Corsepius

Attachment: pr257.diff added


Note: See TracTickets for help on using tickets.