#1715 closed defect (fixed)

avr: undefined reference to `_CPU_Context_Restart_self'

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: score Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Current CVS-HEAD doesn't build for the avr:

...
avr-rtems4.11-gcc -B../../../../../avrtest/lib/ -specs bsp_specs -qrtems -mmcu=atmega128 -Os -g -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -mmcu=atmega128 -o hello.exe init.o ../../../../../avrtest/lib/no-barrier.rel ../../../../../avrtest/lib/no-dpmem.rel ../../../../../avrtest/lib/no-event.rel ../../../../../avrtest/lib/no-msg.rel ../../../../../avrtest/lib/no-mp.rel ../../../../../avrtest/lib/no-part.rel ../../../../../avrtest/lib/no-region.rel ../../../../../avrtest/lib/no-signal.rel ../../../../../avrtest/lib/no-timer.rel ../../../../../avrtest/lib/no-rtmon.rel ../../../../../avrtest/lib/no-ext.rel
../../../../../avrtest/lib/librtemscpu.a(libsapi_a-exshutdown.o): In function `rtems_shutdown_executive':
/users/rtems/src/rtems-cvs/rtems.vanilla/BUILD/avr-rtems4.11/c/avrtest/cpukit/sapi/../../cpukit/../../../avrtest/lib/include/rtems/score/thread.inl:50: undefined reference to `_CPU_Context_Restart_self'
collect2: ld returned 1 exit status
gmake[5]: * [hello.exe] Error 1

Change History (2)

comment:1 Changed on Nov 6, 2010 at 9:53:38 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

Patch committed to head. Typo in macro.

comment:2 Changed on Nov 24, 2014 at 6:58:28 PM by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.