RTEMS | bsps/arm/*: Add linker args to find correct __sync_synchronize implementation (!520)
Joel Sherrill (@joel)
gitlab at rtems.org
Wed Jun 18 13:28:14 UTC 2025
Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/520
Project:Branches: joel/rtems:arm-sync_synchronize-5268 to rtems/rtos/rtems:main
Author: Joel Sherrill
Assignee: Joel Sherrill
## Summary
bsps/arm/*: Add linker args to find correct __sync_synchronize implementation
GCCC 14 introduced a linking warning about not knowing which
__sync_synchronize implementation to use. The BSPs impacted
are updated in this commit. The suggested correction is to
use -specs to pick up a GCC specific specs file which changes
__sync_synchronization to the desired implementation
__sync_synchronization_MECHANISM. Using this solution ties
the code to GCC 14+ since the spec files are not in GCC 13.
Closes #5268
<!-- Default settings, if it is a dropdown it will set after submission -->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/520
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/20250618/0089da1d/attachment.htm>
More information about the bugs
mailing list