From acc10613ea0c675027d53edaf22374103377e60a Mon Sep 17 00:00:00 2001 From: "peng.zou" Date: Wed, 31 Jan 2024 14:46:44 +0800 Subject: [PATCH] Fix patch error and add ppc64le support --- valgrind-Implement-linux-rseq-syscall-as-ENOSYS.patch | 2 +- valgrind.spec | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/valgrind-Implement-linux-rseq-syscall-as-ENOSYS.patch b/valgrind-Implement-linux-rseq-syscall-as-ENOSYS.patch index 3549e91..e3f116d 100644 --- a/valgrind-Implement-linux-rseq-syscall-as-ENOSYS.patch +++ b/valgrind-Implement-linux-rseq-syscall-as-ENOSYS.patch @@ -177,7 +177,7 @@ index 6827964..507117b 100644 #define __NR_pkey_alloc 384 #define __NR_pkey_free 385 #define __NR_pkey_mprotect 386 -+#define __NR_pkey_rseq 387 ++#define __NR_rseq 387 #endif /* __VKI_SCNUMS_PPC64_LINUX_H */ diff --git a/valgrind.spec b/valgrind.spec index 259cdfa..95cdf85 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -10,10 +10,14 @@ %define arch_val arm64 %define arch_old_val %{nil} %endif +%ifarch ppc64le +%define arch_val ppc64le +%define arch_old_val %{nil} +%endif Name: valgrind Version: 3.16.0 -Release: 4 +Release: 5 Epoch: 1 Summary: An instrumentation framework for building dynamic analysis tools License: GPLv2+ @@ -102,6 +106,9 @@ popd %{_mandir}/man1/* %changelog +* Wed Jan 31 2024 peng.zou - 1:3.16.0-5 +- Add ppc64le support + * Thu Aug 25 2022 liyanan - 1:3.16.0-4 - Add BIND_NOW and PIE safe complie option