RTEMS | Implement C11 Annex K (Bounds-checking interfaces): memset_s proof of concept (#5434)
YASH BHIWANIA (@Yash)
gitlab at rtems.org
Tue Feb 3 21:25:06 UTC 2026
YASH BHIWANIA commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5434#note_141007
Hi @joel,
Thanks for the detailed breakdown! The pkg-config approach is much cleaner, so I will switch to that.
I didn't know about librtemsdefaultconfig.a, so I had been manually injecting a config object. I will discard that hack and link against -lrtemsdefaultconfig instead. That should fix the linker errors for the tests.
I also love the idea of fixing the root cause in Newlib instead of just working around it in safeclib. It makes sense to improve the platform's standard compliance while we are at it. I will add a task to my GSOC proposal to port the winsup/cygwin/math/isinf.c implementation to RTEMS, which should allow me to fully enable float support in safeclib.
It is great news that @rurban is willing to mentor. I will clean up my patches and submit them to the upstream safeclib repo this week.
I will start testing these changes and update my proposal draft with these new goals.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5434#note_141007
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/20260203/ce158471/attachment.htm>
More information about the bugs
mailing list