]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libsanitizer, darwin: Unsupport Darwin >= 22 for now.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 17 Apr 2023 09:23:16 +0000 (10:23 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 21 May 2023 19:00:37 +0000 (20:00 +0100)
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 <iain@sandoe.co.uk>
libsanitizer/ChangeLog:

* configure.tgt: Unsupport Darwin22+ until a mechanism can be found
to locate dyld in the shared cache.

(cherry picked from commit e722a1f42b28092c9f709a3f758fc4fe57db32b0)

libsanitizer/configure.tgt

index fa30065b5954efb301b88dd38c35de9e8ad00541..ef446011912f15ccce6b72369eb06e999103566c 100644 (file)
@@ -60,7 +60,7 @@ case "${target}" in
                TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_aarch64.lo
        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+="-Wl,-undefined,dynamic_lookup"
        ;;