https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93082 --- Comment #14 from Sam James <sam at gentoo dot org> --- This seems to be fixed in the latest macOS SDK (13.1 at least). But obviously that doesn't help folks who need to use older SDKs.