RTEMS | Multiple ARM BSPs Warning for GCC __sync_synchronize stub (#5268)

Joel Sherrill (@joel) gitlab at rtems.org
Sat Jun 14 16:17:27 UTC 2025



Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5268

Assignee: Joel Sherrill

## Summary
With GCC 14, multiple BSPs get a linking warning for using a stub __sync_synchronize method based on the multilib of the GCC support libraries linked against. This is the warning:

```
/home/joel/rtems-work/tools/next-gcc14/bin/../lib/gcc/arm-rtems7/14.3.0/../../../../arm-rtems7/bin/ld: ./librtemstest.a(t-test.c.80.o): in function `T_output_buffer_fill':
/home/joel/rtems-work/rtems/build/arm/rtl22xx/../../../cpukit/libtest/t-test.c:235:(.text.T_output_buffer_fill.constprop.0+0x68): warning: This implementation of __sync_synchronize is a stub with no effect.  Relink with
  -specs=sync-{none,dmb,cp15dmb}.specs
to specify exactly which barrier format to use and avoid this warning
```

This is the list of BSPs reporting this as of GCC 14.

- arm-beagleboardorig
- arm-beagleboardxm
- arm-beagleboneblack
- arm-beaglebonewhite
- arm-csb336
- arm-csb337
- arm-csb637
- arm-edb7312
- arm-gumstix
- arm-kit637_v6
- arm-lpc2362
- arm-lpc23xx_tli800
- arm-lpc24xx_ea
- arm-lpc24xx_ncs_ram
- arm-lpc24xx_ncs_rom_ext
- arm-lpc24xx_ncs_rom_int
- arm-lpc24xx_plx800_ram
- arm-lpc24xx_plx800_rom_int
- arm-lpc32xx_mzx
- arm-lpc32xx_mzx_stage_1
- arm-lpc32xx_mzx_stage_2
- arm-lpc32xx_phycore
- arm-raspberrypi
- arm-rtl22xx
- arm-rtl22xx_t
- arm-smdk2410

### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5268
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/20250614/0d94aa0c/attachment-0001.htm>


More information about the bugs mailing list