diff --git a/valgrind-3.9.0-s390-risbg.patch b/valgrind-3.9.0-s390-risbg.patch new file mode 100644 index 0000000..781ae29 --- /dev/null +++ b/valgrind-3.9.0-s390-risbg.patch @@ -0,0 +1,11 @@ +--- valgrind-3.9.0/VEX/priv/guest_s390_toIR.c.orig 2013-11-07 22:45:58.021660641 +0100 ++++ valgrind-3.9.0/VEX/priv/guest_s390_toIR.c 2013-11-07 22:46:12.319772145 +0100 +@@ -7606,7 +7606,7 @@ + put_gpr_dw0(r1, binop(Iop_And64, mkexpr(op2), mkU64(mask))); + } + assign(result, get_gpr_dw0(r1)); +- s390_cc_thunk_putS(S390_CC_OP_LOAD_AND_TEST, op2); ++ s390_cc_thunk_putS(S390_CC_OP_LOAD_AND_TEST, result); + + return "risbg"; + } diff --git a/valgrind.spec b/valgrind.spec index f7c9ad3..b8ffd16 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -3,7 +3,7 @@ Summary: Tool for finding memory management bugs in programs Name: %{?scl_prefix}valgrind Version: 3.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 License: GPLv2+ URL: http://www.valgrind.org/ @@ -35,6 +35,9 @@ Patch6: valgrind-3.9.0-amd64_gen_insn_test.patch # KDE#327837 - dwz compressed alternate .debug_info/str not read correctly. Patch7: valgrind-3.9.0-dwz-alt-buildid.patch +# KDE#327284 - s390x VEX miscompilation of -march=z10 binary +Patch8: valgrind-3.9.0-s390-risbg.patch + %ifarch x86_64 ppc64 # Ensure glibc{,-devel} is installed for both multilib arches BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so @@ -130,6 +133,7 @@ Valgrind User Manual for details. %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build # We need to use the software collection compiler and binutils if available. @@ -283,8 +287,9 @@ echo ===============END TESTING=============== %endif %changelog -* Wed Nov 20 2013 Mark Wielaard +* Wed Nov 20 2013 Mark Wielaard - 3.9.0-2 - Add valgrind-3.9.0-dwz-alt-buildid.patch. +- Add valgrind-3.9.0-s390-risbg.patch. * Fri Nov 1 2013 Mark Wielaard - 3.9.0-1 - Upgrade to valgrind 3.9.0 final.