http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734
--- Comment #39 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-10-17 09:56:52 UTC --- I don't know exactly what we are doing in such headers but for sure if we have facilities which rely vitally on atomic builtins either should be disabled *completely* when the builtins are not actually available or the use of the builtins should be moved to functions exported by the .so (and then at build time either use as implementation details the atomic builtins or a slow fall back, like we do for <string>, more or less)