From: Iain Sandoe Date: Mon, 17 Apr 2023 09:23:16 +0000 (+0100) Subject: libsanitizer, darwin: Unsupport Darwin >= 22 for now. X-Git-Tag: vendors/ARM/release-12.3.rel1~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1df72374dd367d7549217c2625b7f843ec1c8e6e;p=thirdparty%2Fgcc.git libsanitizer, darwin: Unsupport Darwin >= 22 for now. The mechanism for location dyld has altered from Darwin22 since dyld is now in the shared cache. The implemented mechanism for walking the cache uses Apple Blocks which GCC does not yet support, and the fallback to the original mechanism does not work there. Until a suitable work-around can be found, unsupport Darwin22+. Signed-off-by: Iain Sandoe libsanitizer/ChangeLog: * configure.tgt: Unsupport Darwin22+ until a mechanism can be found to locate dyld in the shared cache. (cherry picked from commit e722a1f42b28092c9f709a3f758fc4fe57db32b0) --- diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index fb89df4935cc..bc169c365f24 100644 --- a/libsanitizer/configure.tgt +++ b/libsanitizer/configure.tgt @@ -64,7 +64,7 @@ case "${target}" in HWASAN_SUPPORTED=yes fi ;; - x86_64-*-darwin2* | x86_64-*-darwin1[2-9]* | i?86-*-darwin1[2-9]*) + x86_64-*-darwin2[01]* | x86_64-*-darwin1[2-9]* | i?86-*-darwin1[2-9]*) TSAN_SUPPORTED=no EXTRA_CXXFLAGS="${EXTRA_CXXFLAGS} -Wl,-undefined,dynamic_lookup" ;;