RTEMS | Manual Build of RTEMS RTOS fails - 7/sparc-erc32 (#5412)
Joel Sherrill (@joel)
gitlab at rtems.org
Tue Dec 30 16:03:47 UTC 2025
Joel Sherrill commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5412#note_137917
Oh. This method shouldn't be guarded by RTEMS_POSIX_API=True. It comes from C11. The latest POSIX version (Issue 8 2024) rebased from C99 to C11 and picked it up. I can see why it was added there but it shouldn't have been.
Can you move it from objpsxsgnl.yml to librtemscpu.yml? I think that should fix it.
```
$ grep -r timespecget spec/
spec/build/cpukit/objpsxsgnl.yml:- cpukit/posix/src/timespecget.c
spec/build/cpukit/librtemscpu.yml:- cpukit/score/src/timespecgetasnanoseconds.c
```
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5412#note_137917
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/20251230/caf2abd7/attachment.htm>
More information about the bugs
mailing list