]> git.ipfire.org Git - thirdparty/valgrind.git/commit
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)
commit59784c512ec40e588b21cf5ae8e31e9c4f99d6b8
tree3b49b40ac2ecd32bb07780b37645be295e7e407a
parentbc758374a25e5cfb1a7c11f3ac3b0e31217746a5
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.
exp-sgcheck/tests/is_arch_supported