3.9.0-2 Add valgrind-3.9.0-s390-risbg.patch.

This commit is contained in:
Mark Wielaard 2013-11-20 14:30:39 +01:00
parent 5918a28d8d
commit a9137e1e63
2 changed files with 18 additions and 2 deletions

View File

@ -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";
}

View File

@ -3,7 +3,7 @@
Summary: Tool for finding memory management bugs in programs Summary: Tool for finding memory management bugs in programs
Name: %{?scl_prefix}valgrind Name: %{?scl_prefix}valgrind
Version: 3.9.0 Version: 3.9.0
Release: 1%{?dist} Release: 2%{?dist}
Epoch: 1 Epoch: 1
License: GPLv2+ License: GPLv2+
URL: http://www.valgrind.org/ 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. # KDE#327837 - dwz compressed alternate .debug_info/str not read correctly.
Patch7: valgrind-3.9.0-dwz-alt-buildid.patch 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 %ifarch x86_64 ppc64
# Ensure glibc{,-devel} is installed for both multilib arches # 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 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 %patch5 -p1
%patch6 -p1 %patch6 -p1
%patch7 -p1 %patch7 -p1
%patch8 -p1
%build %build
# We need to use the software collection compiler and binutils if available. # We need to use the software collection compiler and binutils if available.
@ -283,8 +287,9 @@ echo ===============END TESTING===============
%endif %endif
%changelog %changelog
* Wed Nov 20 2013 Mark Wielaard <mjw@redhat.com> * Wed Nov 20 2013 Mark Wielaard <mjw@redhat.com> - 3.9.0-2
- Add valgrind-3.9.0-dwz-alt-buildid.patch. - Add valgrind-3.9.0-dwz-alt-buildid.patch.
- Add valgrind-3.9.0-s390-risbg.patch.
* Fri Nov 1 2013 Mark Wielaard <mjw@redhat.com> - 3.9.0-1 * Fri Nov 1 2013 Mark Wielaard <mjw@redhat.com> - 3.9.0-1
- Upgrade to valgrind 3.9.0 final. - Upgrade to valgrind 3.9.0 final.