From 9d1b3ab9be5850c60ed77b9480cafae40659d20e26e218bfd33a4992f6e1123a Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 20 Oct 2016 06:46:40 +0000 Subject: [PATCH] Accepting request 436457 from home:StefanBruens:branches:devel:tools allows valgrind'ing applications linking to libcrypto (e.g. zypper), see https://bugs.kde.org/show_bug.cgi?id=356393 Note, this may be superseded by an update to valgrind 3.12.0, which is due in 2 days. OBS-URL: https://build.opensuse.org/request/show/436457 OBS-URL: https://build.opensuse.org/package/show/devel:tools/valgrind?expand=0&rev=147 --- valgrind.changes | 5 +++++ valgrind.spec | 2 ++ vex-r3213.diff | 21 +++++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 vex-r3213.diff diff --git a/valgrind.changes b/valgrind.changes index a8e72db..5dceb93 100644 --- a/valgrind.changes +++ b/valgrind.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 20 00:42:48 UTC 2016 - stefan.bruens@rwth-aachen.de + +- add vex-r3213.diff (kde#356393) + ------------------------------------------------------------------- Sat May 28 11:01:13 UTC 2016 - dmueller@suse.com diff --git a/valgrind.spec b/valgrind.spec index 6619032..ac0cf2a 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -43,6 +43,7 @@ Patch7: r15792.diff Patch8: r15802.diff Patch100: vex-r3197.diff Patch101: vex-r3210.diff +Patch102: vex-r3213.diff BuildRequires: automake BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook_4 @@ -124,6 +125,7 @@ but it has been successfully used to optimize several KDE applications. %patch8 %patch100 %patch101 +%patch102 %build export FLAGS="%{optflags}" diff --git a/vex-r3213.diff b/vex-r3213.diff new file mode 100644 index 0000000..484ef51 --- /dev/null +++ b/vex-r3213.diff @@ -0,0 +1,21 @@ +svn log --diff -c r3213 svn://svn.valgrind.org/vex +------------------------------------------------------------------------ +r3213 | sewardj | 2016-03-21 20:29:20 +0100 (Mo, 21. Mär 2016) | 2 Zeilen + +Make isZeroU handle the V256 case. Fixes #356393. + + +Index: trunk/priv/ir_opt.c +=================================================================== +--- VEX/priv/ir_opt.c (Revision 3212) ++++ VEX/priv/ir_opt.c (Revision 3213) +@@ -1223,6 +1223,7 @@ + case Ico_U16: return toBool( e->Iex.Const.con->Ico.U16 == 0); + case Ico_U32: return toBool( e->Iex.Const.con->Ico.U32 == 0); + case Ico_U64: return toBool( e->Iex.Const.con->Ico.U64 == 0); ++ case Ico_V256: return toBool( e->Iex.Const.con->Ico.V256 == 0x00000000); + default: vpanic("isZeroU"); + } + } + +------------------------------------------------------------------------