https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69799
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afanfa at gcc dot gnu.org --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Needs to link against -latomic. Why? Apparently it does not need it on x86_64-apple-darwin15. What happens if you add '-latomic' to the dg-options list?