]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
aarch64 (arm64) isn't a supported architecture for exp-sgcheck.
authorMark Wielaard <mark@klomp.org>
Sat, 18 May 2019 12:55:50 +0000 (14:55 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 18 May 2019 12:56:50 +0000 (14:56 +0200)
exp-sgcheck/pc_main.c contains:

   #if defined(VGA_arm) || defined(VGA_arm64)
      VG_(printf)("SGCheck doesn't work on ARM yet, sorry.\n");
      VG_(exit)(1);
   #endif

But exp-sgcheck/tests/is_arch_supported checked against uname -m
which returns aarch64 (not arm64). Fix the test check so the
exp-sgcheck tests are skipped instead of producing failures.

exp-sgcheck/tests/is_arch_supported

index 818cc6167a1e6644e62c1a397118013901f8e81f..d4c6191e084fb64a77b0917b8772f8f7a65fd2f1 100755 (executable)
@@ -10,6 +10,6 @@
 # architectures.
 
 case `uname -m` in
-  ppc*|arm*|s390x|mips*) exit 1;;
+  ppc*|aarch64|arm*|s390x|mips*) exit 1;;
   *)         exit 0;;
 esac