summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/valgrind/APKBUILD2
-rw-r--r--user/valgrind/ppc32.patch15
2 files changed, 17 insertions, 0 deletions
diff --git a/user/valgrind/APKBUILD b/user/valgrind/APKBUILD
index 7a038a2bd..b64d13df7 100644
--- a/user/valgrind/APKBUILD
+++ b/user/valgrind/APKBUILD
@@ -18,6 +18,7 @@ subpackages="$pkgname-dev $pkgname-doc"
source="ftp://sourceware.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2
0001-Ensure-ELFv2-is-supported-on-PPC64.patch
arm.patch
+ ppc32.patch
ppc64-support-tkill.patch
"
@@ -62,4 +63,5 @@ package() {
sha512sums="3e86cda2f2d6cd30807fac7933ba2c46a97a2b4a868db989e6b0cceeadf029af7ee34ba900466a346948289aacb30f4399799bb83b97cc49a4d2d810441e5cfd valgrind-3.21.0.tar.bz2
f90aa3cef5d3561d4602ff63b8f355b8427cbe6bb2ecd6bfc2e2bb063915fa40a70d923dbc60a643ee3fb7bcfbbddac049c6f6133c541189dd82b891f7ad9dbc 0001-Ensure-ELFv2-is-supported-on-PPC64.patch
9ee297d1b2b86891584443ad0caadc4977e1447979611ccf1cc55dbee61911b0b063bc4ad936d86c451cedae410cb3219b5a088b2ad0aa17df182d564fe36cfe arm.patch
+25804fafe2372808c29233ec7415a94633ef17c72c9bd1d78a5c1da53fad2ed8e76da2d0923ff0a73fad8a86b7709c5ea3774b35be6a5b4c1ef1a55bc86b2c18 ppc32.patch
daf819d0f9bbbaf4243c7bf931fed840f1f55304df1b45d4a72ceaf8403b8e0e1fc8079343b86106f0741aa812560a466389d7d3878c5547f3ff7a9e46e63df7 ppc64-support-tkill.patch"
diff --git a/user/valgrind/ppc32.patch b/user/valgrind/ppc32.patch
new file mode 100644
index 000000000..093eae132
--- /dev/null
+++ b/user/valgrind/ppc32.patch
@@ -0,0 +1,15 @@
+--- valgrind-3.21.0/VEX/priv/main_main.c.old 2023-01-07 14:48:48.000000000 +0000
++++ valgrind-3.21.0/VEX/priv/main_main.c 2024-10-01 21:53:47.879017945 +0000
+@@ -2047,10 +2047,10 @@
+ }
+
+ /* ISA 3.0 not supported on 32-bit machines */
+- if ((hwcaps & VEX_HWCAPS_PPC32_ISA3_0) != 0) {
++ /*if ((hwcaps & VEX_HWCAPS_PPC32_ISA3_0) != 0) {
+ invalid_hwcaps(arch, hwcaps,
+ "ISA 3.0 not supported in 32-bit mode \n");
+- }
++ }*/
+ return;
+ }
+