#3413 assigned defect

examples-v2 both_hello and triple_period fail to build

Reported by: Joel Sherrill Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: arch/powerpc Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

examples-v2 doesn't build for qemuppc. both_hello fails because of something going on with rtems-ld. Taking that out of the wscript results in getting further but fails with an undefined error for the same symbol.

/home/joel/rtems-work/tools/5/bin/powerpc-rtems5-gcc: hello-deep.o: In function `wrapThread_Life_action_handler':
/home/joel/rtems-work/tools/5/bin/powerpc-rtems5-gcc: /home/joel/rtems-work/examples-v2/build/powerpc-rtems5-qemuppc/ hello-deep.c:1304: undefined reference to `_Thread_Life_action_handler'
/home/joel/rtems-work/tools/5/bin/powerpc-rtems5-gcc: collect2: error: ld returned 1 exit status

error: linking: Linker error

Change History (1)

comment:1 Changed on Apr 26, 2018 at 3:33:03 AM by Chris Johns

The score thread definition files have not been updated after a change in the score:

https://git.rtems.org/rtems-tools/tree/linkers/rtems-score-thread.ini#n8

which is referenced from:

https://git.rtems.org/examples-v2/tree/hello/both_hello/hello-deep.ini#n21

I am OK with a change to remove the definition being pushed.

Note, adding libdwarf support to rtems-tools would remove the need for these files.

Please remember rtems-tools repo changes require an RSB update to have the RSB pick up any changes.

Note: See TracTickets for help on using tickets.