diff options
Diffstat (limited to 'user/valgrind/ppc64-support-tkill.patch')
-rw-r--r-- | user/valgrind/ppc64-support-tkill.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/user/valgrind/ppc64-support-tkill.patch b/user/valgrind/ppc64-support-tkill.patch new file mode 100644 index 000000000..b763be05e --- /dev/null +++ b/user/valgrind/ppc64-support-tkill.patch @@ -0,0 +1,14 @@ +On musl, the generic support works fine. + +This prevents spurious memcheck and cachegrind failures on ppc64. +--- valgrind-3.19.0/coregrind/m_syswrap/syswrap-ppc64-linux.c.old 2022-06-11 03:12:37.140000000 -0500 ++++ valgrind-3.19.0/coregrind/m_syswrap/syswrap-ppc64-linux.c 2022-06-11 03:13:33.550000000 -0500 +@@ -852,7 +852,7 @@ + GENX_(__NR_madvise, sys_madvise), // 205 + // _____(__NR_mincore, sys_mincore), // 206 + LINX_(__NR_gettid, sys_gettid), // 207 +-// _____(__NR_tkill, sys_tkill), // 208 ++ LINXY(__NR_tkill, sys_tkill), // 208 + LINX_(__NR_setxattr, sys_setxattr), // 209 + + LINX_(__NR_lsetxattr, sys_lsetxattr), // 210 |