RTEMS Tools | rtems-ld: An unused undefined symbol stops the link (#43)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Sat Oct 3 13:32:43 UTC 2026
Issue created by Sebastian Huber: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/work_items/43
The assembler of i386 and microblaze adds `_GLOBAL_OFFSET_TABLE_` as an undefined symbol to an object which uses a thread-local storage operator. No relocation record references the symbol. rtems-ld treats it as unresolved and stops with "symbol not found: _GLOBAL_OFFSET_TABLE_".
A Newlib built with `--enable-newlib-reent-thread-local` carries such objects, so no application which links them can become a RAP file. The test `dl06` of RTEMS does not build on i386 and microblaze.
Found while running the RTEMS test suite on eleven simulators. This description was created with Claude Code assistance.
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/work_items/43
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/13/sent_notifications/5-c8sb6kbyjzpe2gm9hs8h65xx9-d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20261003/4a13230a/attachment.htm>
More information about the bugs
mailing list