http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55571
--- Comment #9 from Richard Henderson <rth at gcc dot gnu.org> 2012-12-04 17:09:07 UTC --- (In reply to comment #8) > In case it's useful to anyone else, a small program that reproduces the > problem. > > % arm-linux-gnueabi-gcc -o utils utils.c > [same problem with __sync_synchronize] Does this require the compiler to be installed? Because I'm having trouble triggering the problem reliably. I've tried your test with the compiler still in-tree and it succeeds. I can reproduce the fail with a full build, but invoking the same link from the command line does NOT fail. There's something weird going on here with the linker...