From: Paul F. <pa...@so...> - 2024-10-08 19:05:44
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=752ca5b166b7118c86207301e47e5d2a4112c634 commit 752ca5b166b7118c86207301e47e5d2a4112c634 Author: Paul Floyd <pj...@wa...> Date: Tue Oct 8 21:03:17 2024 +0200 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: --- memcheck/tests/amd64/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memcheck/tests/amd64/Makefile.am b/memcheck/tests/amd64/Makefile.am index 05299a752e..98f3f78fa1 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 |