Hi!

This is a port of r16-6008 on top of the merge.
All 3 commits then would go into LOCAL_PATCHES instead
of the current ones.

diff --git a/libsanitizer/sanitizer_common/sanitizer_redefine_builtins.h 
b/libsanitizer/sanitizer_common/sanitizer_redefine_builtins.h
index 7d889111765..26f4b48e4fd 100644
--- a/libsanitizer/sanitizer_common/sanitizer_redefine_builtins.h
+++ b/libsanitizer/sanitizer_common/sanitizer_redefine_builtins.h
@@ -15,7 +15,8 @@
 #    define SANITIZER_REDEFINE_BUILTINS_H
 
 // The asm hack only works with GCC and Clang.
-#    if !defined(_WIN32) && !defined(_AIX) && !defined(__APPLE__)
+#if !defined(_WIN32) && !defined(_AIX) && !defined(__APPLE__) &&               
\
+    defined(HAVE_AS_SYM_ASSIGN)
 
 asm(R"(
     .set memcpy, __sanitizer_internal_memcpy

        Jakub

Reply via email to