summaryrefslogtreecommitdiff
path: root/user/valgrind/ppc64-support-tkill.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-11 03:15:29 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:01 -0500
commitbe3b7892d5b03acf89043051d5a571067224f25d (patch)
tree72620421e89ae4ac5ecb6444a2ac9cf430e8a515 /user/valgrind/ppc64-support-tkill.patch
parent2cf68223ef496b615b1729ffd29093d9357a48f3 (diff)
downloadpackages-be3b7892d5b03acf89043051d5a571067224f25d.tar.gz
packages-be3b7892d5b03acf89043051d5a571067224f25d.tar.bz2
packages-be3b7892d5b03acf89043051d5a571067224f25d.tar.xz
packages-be3b7892d5b03acf89043051d5a571067224f25d.zip
user/valgrind: Update to 3.19.0, ppc64
Add support for the tkill syscall on ppc64 using the built-in generic Linux support.
Diffstat (limited to 'user/valgrind/ppc64-support-tkill.patch')
-rw-r--r--user/valgrind/ppc64-support-tkill.patch14
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