https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93731
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So you could just disable asan and keep ubsan (set ASAN_SUPPORTED=no in libsanitizer/configure.tgt for a particular darwin OS version, and if it is 32-bit only, also test x$ac_cv_sizeof_void_p = x4 ? Of course, trying to workaround kernel bugs this way is weird, but if it isn't supported anymore or Apple isn't willing to fix their bugs...