From: Mark Wielaard Date: Sat, 18 May 2019 12:55:50 +0000 (+0200) Subject: aarch64 (arm64) isn't a supported architecture for exp-sgcheck. X-Git-Tag: VALGRIND_3_16_0~286 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59784c512ec40e588b21cf5ae8e31e9c4f99d6b8;p=thirdparty%2Fvalgrind.git aarch64 (arm64) isn't a supported architecture for exp-sgcheck. 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. --- diff --git a/exp-sgcheck/tests/is_arch_supported b/exp-sgcheck/tests/is_arch_supported index 818cc6167a..d4c6191e08 100755 --- a/exp-sgcheck/tests/is_arch_supported +++ b/exp-sgcheck/tests/is_arch_supported @@ -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