--- /dev/null
+FIX: vex amd64->IR: unhandled instruction bytes: 0x66 0xF 0x3A 0x61 0x7 0x0
+
+https://bugs.kde.org/show_bug.cgi?id=262995
+
+--- valgrind-3.6.0/VEX/priv/guest_amd64_toIR.c.orig 2010-10-20 22:19:51.000000000 +0200
++++ valgrind-3.6.0/VEX/priv/guest_amd64_toIR.c 2011-01-17 19:03:14.517469329 +0100
+@@ -15354,6 +15354,7 @@ DisResult disInstr_AMD64_WRK (
+ any cases for which the helper function has not been
+ verified. */
+ switch (imm) {
++ case 0x00:
+ case 0x02: case 0x08: case 0x0A: case 0x0C: case 0x12:
+ case 0x1A: case 0x3A: case 0x44: case 0x4A:
+ break;
+--- valgrind-3.6.0/VEX/priv/guest_generic_x87.c.orig 2010-10-20 22:19:51.000000000 +0200
++++ valgrind-3.6.0/VEX/priv/guest_generic_x87.c 2011-01-17 19:03:59.611838375 +0100
+@@ -715,6 +715,7 @@ Bool compute_PCMPxSTRx ( /*OUT*/V128* re
+ even if they would probably work. Life is too short to have
+ unvalidated cases in the code base. */
+ switch (imm8) {
++ case 0x00:
+ case 0x02: case 0x08: case 0x0A: case 0x0C: case 0x12:
+ case 0x1A: case 0x3A: case 0x44: case 0x4A:
+ break;
Summary(pl.UTF-8): Otwarty odpluskwiacz pamięci
Name: valgrind
Version: 3.6.0
-Release: 2
+Release: 3
License: GPL
Group: Development/Tools
Source0: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2
# Source0-md5: b289c5f4ab8e39741602445f1dd09b34
Patch0: %{name}-debuginfo.patch
+Patch1: %{name}-pr262995.patch
URL: http://valgrind.org/
BuildRequires: autoconf
BuildRequires: automake
%prep
%setup -q
%patch0
+%patch1 -p1
sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in