https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84568
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #5) > (In reply to palmer from comment #3) > > It looks like LLVM already has inline atomics, so presumably the same issues > > would arise when mixing libstdc++ libraries compiled with LLVM and GCC. > > Yup. But not just "when mixing libstdc++ libraries". When mixing pretty much any C++ code that uses libstdc++ headers.