RTEMS | Draft: Support for building RTEMS with LLVM toolchains (!1539)

Sebastian Huber (@sebhub) gitlab at rtems.org
Fri Oct 16 05:35:33 UTC 2026




Sebastian Huber started a new discussion on cpukit/score/cpu/sparc/cpu.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1539#note_161207

 >  #include <rtems/score/tls.h>
 >  #include <rtems/score/thread.h>
 >  
 > +#if defined(__clang__)

`_init()` and `_fini()` are hooks of the C library and its start files. The CPU port is no place for them. Can the clang toolchain provide them in its start files, as GCC does?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1539#note_161207
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-bx7qa45irtzqkoftc4puudbps-1d/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/20261016/592a5b43/attachment-0001.htm>


More information about the bugs mailing list