https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118977
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |m68k-rtems --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >And our test compiles and links fine on that. That is because arm has defined __atomic_test_and_set in the libgcc. So m68k will need to defined one and I suspect it will be specific to rtems too.