From: Paul Floyd Date: Tue, 8 Oct 2024 19:03:17 +0000 (+0200) Subject: macOS regtest: give up trying to build bug492210.c X-Git-Tag: VALGRIND_3_24_0~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=752ca5b166b7118c86207301e47e5d2a4112c634;p=thirdparty%2Fvalgrind.git macOS regtest: give up trying to build bug492210.c macOS has to make everything difficult. Global names need to be decorated with an underscore prefix. And you can't just read from global variables, you have to do something like a rip-relative lea. --- diff --git a/memcheck/tests/amd64/Makefile.am b/memcheck/tests/amd64/Makefile.am index 05299a752..98f3f78fa 100644 --- a/memcheck/tests/amd64/Makefile.am +++ b/memcheck/tests/amd64/Makefile.am @@ -48,7 +48,6 @@ check_PROGRAMS = \ bt_everything \ bug132146 \ bug279698 \ - bug492210 \ fxsave-amd64 \ insn-bsfl \ insn-pmovmskb \ @@ -74,6 +73,7 @@ endif # but the problem is macOS, not clang if !VGCONF_OS_IS_DARWIN check_PROGRAMS += \ + bug492210 \ shr_edx endif