Blame SOURCES/valgrind-3.15.0-exp-sgcheck-no-aarch64.patch

7f50b2
commit 59784c512ec40e588b21cf5ae8e31e9c4f99d6b8
7f50b2
Author: Mark Wielaard <mark@klomp.org>
7f50b2
Date:   Sat May 18 14:55:50 2019 +0200
7f50b2
7f50b2
    aarch64 (arm64) isn't a supported architecture for exp-sgcheck.
7f50b2
    
7f50b2
    exp-sgcheck/pc_main.c contains:
7f50b2
    
7f50b2
       #if defined(VGA_arm) || defined(VGA_arm64)
7f50b2
          VG_(printf)("SGCheck doesn't work on ARM yet, sorry.\n");
7f50b2
          VG_(exit)(1);
7f50b2
       #endif
7f50b2
    
7f50b2
    But exp-sgcheck/tests/is_arch_supported checked against uname -m
7f50b2
    which returns aarch64 (not arm64). Fix the test check so the
7f50b2
    exp-sgcheck tests are skipped instead of producing failures.
7f50b2
7f50b2
diff --git a/exp-sgcheck/tests/is_arch_supported b/exp-sgcheck/tests/is_arch_supported
7f50b2
index 818cc61..d4c6191 100755
7f50b2
--- a/exp-sgcheck/tests/is_arch_supported
7f50b2
+++ b/exp-sgcheck/tests/is_arch_supported
7f50b2
@@ -10,6 +10,6 @@
7f50b2
 # architectures.
7f50b2
 
7f50b2
 case `uname -m` in
7f50b2
-  ppc*|arm*|s390x|mips*) exit 1;;
7f50b2
+  ppc*|aarch64|arm*|s390x|mips*) exit 1;;
7f50b2
   *)         exit 0;;
7f50b2
 esac