https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864
--- Comment #10 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Jürgen Reuter from comment #9) > Trying to continue that fix I get loads and loads of other error in the > libsanitizer :( I'm not sure that there's a valid "fix includes" replacement for _Atomic (sure, you can get the code to compile - but it won't be doing what was intended). In the short-term, I'd suggest picking up the previous version of Xcode command line tools [e.g.10.1] (from developer.apple.com) and using the SDK from that? While this gets fixed. you can point to a specific SDK for configure with something like: .../configure .... --with-sysroot=/path/to/SDK ..... CC="gcc --sysroot=/path/to/SDK" CXX="g++ --sysroot=/path/to/SDK" (or CC="clang.. CXX="clang++).