https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107568
--- Comment #12 from Iain Sandoe <iains at gcc dot gnu.org> --- with Xcode 14.1 CLT and the macOS13 SDK, the build fails without the work-around and works for this: time nice make -j10 BOOT_CFLAGS="-O2 -g -Wno-error=deprecated-declarations" >b.txt 2>e.txt (jftr) configure line is: /src-local/gcc-master/configure --prefix=/opt/iains/x86_64-apple-darwin21/gcc-13-0-0 --build=x86_64-apple-darwin21 --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk CC=x86_64-apple-darwin19-gcc CXX=x86_64-apple-darwin19-g++ --enable-languages=all >conf.txt and the source is current master. (OK, so the differences are [1] I am on macOS12 and [2] I'm using Xcode 14.1 CLT,but the fail and fix are completely repeatable here). Next, I guess I'll pick up the xc 14.2 release.