RTEMS | _Processor_mask_Find_last_set() use breaks GCC14+ builds using "-std" flags (#5501)

SHIVAM DEOLANKAR (@D3athSkulll) gitlab at rtems.org
Fri Feb 27 23:13:11 UTC 2026




SHIVAM DEOLANKAR commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5501#note_143813


I tried reproducing this using RTEMS 7 with riscv-rtems7-gcc 15.2.0 (Newlib).
Even with -std=c11 -Werror=implicit-function-declaration, the build succeeds.
It appears that Newlib exposes flsl() unconditionally, so the issue may be specific to certain host libc environments (e.g., glibc).

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5501#note_143813
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260227/c2ea5faf/attachment.htm>


More information about the bugs mailing list