https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120567
--- Comment #1 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- Many fortran tests also use libbacktrace. So these days I just have site.exp: set board_info(arm-qemu,extra_ldflags) "--specs=sync-none.specs" In my bare-metal test configuration. That's enough for a single-threaded machine. Or you could filter out the warning from the messages. Or you could configure your compiler with --with-arch=armv7-a or some other v7 variant; at that point the default sync_synchronize can just do what's needed without the need for user intervention.