[valgrind] 3.8.1-1 Upgrade to valgrind 3.8.1.
Mark Wielaard
mjw at fedoraproject.org
Thu Sep 20 15:07:01 UTC 2012
commit c728a3341577f0069003c78de3a011ac3ea7753a
Author: Mark Wielaard <mjw at redhat.com>
Date: Thu Sep 20 16:48:45 2012 +0200
3.8.1-1 Upgrade to valgrind 3.8.1.
.gitignore | 1 +
sources | 2 +-
valgrind-3.8.0-abbrev-parsing.patch | 92 --------------------
valgrind-3.8.0-avx-alignment-check.patch | 38 --------
valgrind-3.8.0-capget.patch | 14 ---
valgrind-3.8.0-lzcnt-tzcnt-bugfix.patch | 66 --------------
valgrind-3.8.1-abbrev-parsing.patch | 70 +++++++++++++++
...atch.gz => valgrind-3.8.1-avx2-bmi-fma.patch.gz | Bin 379358 -> 379358 bytes
...rereq.patch => valgrind-3.8.1-avx2-prereq.patch | 9 +--
...ck.patch => valgrind-3.8.1-bmi-conf-check.patch | 8 +-
...=> valgrind-3.8.1-cachegrind-improvements.patch | 4 +-
valgrind-3.8.1-capget.patch | 39 ++++++++
...dw_ops.patch => valgrind-3.8.1-cfi_dw_ops.patch | 16 ++--
...config_h.patch => valgrind-3.8.1-config_h.patch | 0
...rmv5.patch => valgrind-3.8.1-enable-armv5.patch | 8 +-
...ldid.patch => valgrind-3.8.1-find-buildid.patch | 6 +-
...atch => valgrind-3.8.1-helgrind-race-supp.patch | 0
...so-supp.patch => valgrind-3.8.1-ldso-supp.patch | 4 +-
...d-3.8.1-memcheck-mc_translate-Iop_8HLto16.patch | 4 +-
...8.0-openat.patch => valgrind-3.8.1-openat.patch | 4 +-
...ind-3.8.0-pie.patch => valgrind-3.8.1-pie.patch | 0
...8.0-stat_h.patch => valgrind-3.8.1-stat_h.patch | 0
...ace.patch => valgrind-3.8.1-x86-backtrace.patch | 4 +-
valgrind.spec | 87 ++++++++++++-------
24 files changed, 197 insertions(+), 279 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2369402..86b12a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/valgrind-3.7.0.tar.bz2
/valgrind-3.8.0-TEST1.tar.bz2
/valgrind-3.8.0.tar.bz2
+/valgrind-3.8.1.tar.bz2
diff --git a/sources b/sources
index c420f24..400b660 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ec04dfd1256307432b2a7b520398c526 valgrind-3.8.0.tar.bz2
+288758010b271119a0ffc0183f1d6e38 valgrind-3.8.1.tar.bz2
diff --git a/valgrind-3.8.1-abbrev-parsing.patch b/valgrind-3.8.1-abbrev-parsing.patch
new file mode 100644
index 0000000..a12dc82
--- /dev/null
+++ b/valgrind-3.8.1-abbrev-parsing.patch
@@ -0,0 +1,70 @@
+Index: coregrind/m_debuginfo/readdwarf.c
+===================================================================
+--- valgrind/coregrind/m_debuginfo/readdwarf.c (revision 12871)
++++ valgrind/coregrind/m_debuginfo/readdwarf.c (working copy)
+@@ -945,11 +945,11 @@
+ /* Return abbrev for given code
+ * Returned pointer points to the tag
+ * */
+-static UChar* lookup_abbrev( UChar* p, UInt acode )
++static UChar* lookup_abbrev( UChar* p, UInt acode, UChar* end_img )
+ {
+ UInt code;
+ UInt name;
+- for( ; ; ) {
++ while( p < end_img ) {
+ code = read_leb128U( &p );
+ if ( code == acode )
+ return p;
+@@ -959,7 +959,7 @@
+ name = read_leb128U( &p ); /* name */
+ read_leb128U( &p ); /* form */
+ }
+- while( name != 0 ); /* until name == form == 0 */
++ while( name != 0 && p < end_img ); /* until name == form == 0 */
+ }
+ return NULL;
+ }
+@@ -985,6 +985,7 @@
+ void read_unitinfo_dwarf2( /*OUT*/UnitInfo* ui,
+ UChar* unitblock_img,
+ UChar* debugabbrev_img,
++ Word debug_abbv_sz,
+ UChar* debugstr_img,
+ UChar* debugstr_alt_img )
+ {
+@@ -1046,7 +1047,12 @@
+ * not triggered since we shortcut the parsing once we have
+ * read the compile_unit block. This should only occur when
+ * level > 0 */
+- abbrev_img = lookup_abbrev( debugabbrev_img + atoffs, acode );
++ abbrev_img = lookup_abbrev( debugabbrev_img + atoffs, acode,
++ debugabbrev_img + debug_abbv_sz );
++ if ( abbrev_img == NULL ) {
++ VG_(printf)( "### unknown abbrev 0x%x\n", acode );
++ break;
++ }
+ }
+
+ tag = read_leb128U( &abbrev_img );
+@@ -1056,7 +1062,7 @@
+ level++;
+
+ /* And loop on entries */
+- for ( ; ; ) {
++ while( p < end_img ) {
+ /* Read entry definition */
+ UInt name, form;
+ ULong cval = -1LL; /* Constant value read */
+@@ -1226,9 +1232,9 @@
+ /* Fill ui with offset in .debug_line and compdir */
+ if (0)
+ VG_(printf)( "Reading UnitInfo at 0x%lx.....\n",
+- block_img - debug_info_img + 0UL );
++ block_img - debug_info_img + 0UL, blklen, blklen_is_64 );
+ read_unitinfo_dwarf2( &ui, block_img,
+- debug_abbv_img, debug_str_img,
++ debug_abbv_img, debug_abbv_sz, debug_str_img,
+ debug_str_alt_img );
+ if (0)
+ VG_(printf)( " => LINES=0x%llx NAME=%s DIR=%s\n",
diff --git a/valgrind-3.8.0-avx2-bmi-fma.patch.gz b/valgrind-3.8.1-avx2-bmi-fma.patch.gz
similarity index 100%
rename from valgrind-3.8.0-avx2-bmi-fma.patch.gz
rename to valgrind-3.8.1-avx2-bmi-fma.patch.gz
diff --git a/valgrind-3.8.0-avx2-prereq.patch b/valgrind-3.8.1-avx2-prereq.patch
similarity index 57%
rename from valgrind-3.8.0-avx2-prereq.patch
rename to valgrind-3.8.1-avx2-prereq.patch
index 615f61c..2585091 100644
--- a/valgrind-3.8.0-avx2-prereq.patch
+++ b/valgrind-3.8.1-avx2-prereq.patch
@@ -1,21 +1,18 @@
-diff -u valgrind.avx.orig/none/tests/amd64/avx2-1.vgtest valgrind/none/tests/amd64/avx2-1.vgtest
---- valgrind.avx.orig/none/tests/amd64/avx2-1.vgtest 2012-09-19 16:40:20.675627549 +0200
+--- valgrind/none/tests/amd64/avx2-1.vgtest 2012-09-19 16:40:20.675627549 +0200
+++ valgrind/none/tests/amd64/avx2-1.vgtest 2012-09-19 20:53:16.939765249 +0200
@@ -1,3 +1,3 @@
prog: avx2-1
-prereq: ../../../tests/x86_amd64_features amd64-avx
+prereq: test -x avx2-1 && ../../../tests/x86_amd64_features amd64-avx
vgopts: -q
-diff -u valgrind.avx.orig/none/tests/amd64/bmi.vgtest valgrind/none/tests/amd64/bmi.vgtest
---- valgrind.avx.orig/none/tests/amd64/bmi.vgtest 2012-09-19 16:40:20.368622951 +0200
+--- valgrind/none/tests/amd64/bmi.vgtest 2012-09-19 16:40:20.368622951 +0200
+++ valgrind/none/tests/amd64/bmi.vgtest 2012-09-19 20:54:31.168839454 +0200
@@ -1,3 +1,3 @@
prog: bmi
-prereq: ../../../tests/x86_amd64_features amd64-avx
+prereq: test -x bmi && ../../../tests/x86_amd64_features amd64-avx
vgopts: -q
-diff -u valgrind.avx.orig/none/tests/amd64/fma.vgtest valgrind/none/tests/amd64/fma.vgtest
---- valgrind.avx.orig/none/tests/amd64/fma.vgtest 2012-09-19 16:40:20.755628747 +0200
+--- valgrind/none/tests/amd64/fma.vgtest 2012-09-19 16:40:20.755628747 +0200
+++ valgrind/none/tests/amd64/fma.vgtest 2012-09-19 20:54:58.851240219 +0200
@@ -1,3 +1,3 @@
prog: fma
diff --git a/valgrind-3.8.0-bmi-conf-check.patch b/valgrind-3.8.1-bmi-conf-check.patch
similarity index 79%
rename from valgrind-3.8.0-bmi-conf-check.patch
rename to valgrind-3.8.1-bmi-conf-check.patch
index 1ac3301..a201cf7 100644
--- a/valgrind-3.8.0-bmi-conf-check.patch
+++ b/valgrind-3.8.1-bmi-conf-check.patch
@@ -1,5 +1,5 @@
---- valgrind-3.8.0/configure 2012-09-12 20:20:29.868427602 +0200
-+++ valgrind-3.8.0/configure 2012-09-13 18:28:42.354382238 +0200
+--- valgrind/configure 2012-09-12 20:20:29.868427602 +0200
++++ valgrind/configure 2012-09-13 18:28:42.354382238 +0200
@@ -8389,9 +8389,9 @@
do { unsigned int h, l;
@@ -12,8 +12,8 @@
while (0)
;
---- valgrind-3.8.0/configure.in 2012-09-13 14:53:45.826948006 +0200
-+++ valgrind-3.8.0/configure.in 2012-09-13 18:28:20.725057751 +0200
+--- valgrind/configure.in 2012-09-13 14:53:45.826948006 +0200
++++ valgrind/configure.in 2012-09-13 18:28:20.725057751 +0200
@@ -1822,9 +1822,9 @@
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
do { unsigned int h, l;
diff --git a/valgrind-3.8.0-cachegrind-improvements.patch b/valgrind-3.8.1-cachegrind-improvements.patch
similarity index 93%
rename from valgrind-3.8.0-cachegrind-improvements.patch
rename to valgrind-3.8.1-cachegrind-improvements.patch
index b74af5c..f6f9a1f 100644
--- a/valgrind-3.8.0-cachegrind-improvements.patch
+++ b/valgrind-3.8.1-cachegrind-improvements.patch
@@ -1,5 +1,5 @@
---- valgrind-3.8.0/cachegrind/cg_sim.c.jj 2011-10-26 23:24:32.000000000 +0200
-+++ valgrind-3.8.0/cachegrind/cg_sim.c 2011-12-09 17:31:19.256023683 +0100
+--- valgrind-3.8.1/cachegrind/cg_sim.c.jj 2011-10-26 23:24:32.000000000 +0200
++++ valgrind-3.8.1/cachegrind/cg_sim.c 2011-12-09 17:31:19.256023683 +0100
@@ -42,27 +42,30 @@ typedef struct {
Int size; /* bytes */
Int assoc;
diff --git a/valgrind-3.8.1-capget.patch b/valgrind-3.8.1-capget.patch
new file mode 100644
index 0000000..c6bf39f
--- /dev/null
+++ b/valgrind-3.8.1-capget.patch
@@ -0,0 +1,39 @@
+#include <sys/capability.h>
+#include <stddef.h>
+#include <stdio.h>
+
+int
+main (int c, char **argv)
+{
+ struct __user_cap_header_struct hdr;
+ hdr.version = _LINUX_CAPABILITY_VERSION;
+ hdr.pid = 0;
+ (void) capget(&hdr, NULL);
+ switch (hdr.version) {
+ case _LINUX_CAPABILITY_VERSION_1:
+ printf("Version 1\n");
+ break;
+ case _LINUX_CAPABILITY_VERSION_2:
+ printf("Version 2\n");
+ break;
+ default:
+ printf("Unknown version\n");
+ break;
+ }
+ return 0;
+}
+
+--- valgrind-3.7.0/coregrind/m_syswrap/syswrap-linux.c.jj 2010-04-07 08:14:12.000000000 -0400
++++ valgrind-3.7.0/coregrind/m_syswrap/syswrap-linux.c 2010-04-12 07:24:12.838876000 -0400
+@@ -2212,8 +2212,9 @@ PRE(sys_capget)
+ vki_cap_user_header_t, header, vki_cap_user_data_t, data);
+ PRE_MEM_READ( "capget(header)", ARG1,
+ sizeof(struct __vki_user_cap_header_struct) );
+- PRE_MEM_WRITE( "capget(data)", ARG2,
+- sizeof(struct __vki_user_cap_data_struct) );
++ if (ARG2 != (Addr)NULL)
++ PRE_MEM_WRITE( "capget(data)", ARG2,
++ sizeof(struct __vki_user_cap_data_struct) );
+ }
+ POST(sys_capget)
+ {
diff --git a/valgrind-3.8.0-cfi_dw_ops.patch b/valgrind-3.8.1-cfi_dw_ops.patch
similarity index 89%
rename from valgrind-3.8.0-cfi_dw_ops.patch
rename to valgrind-3.8.1-cfi_dw_ops.patch
index 254f50f..38962b0 100644
--- a/valgrind-3.8.0-cfi_dw_ops.patch
+++ b/valgrind-3.8.1-cfi_dw_ops.patch
@@ -1,5 +1,5 @@
---- valgrind-3.8.0/coregrind/m_debuginfo/readdwarf.c (revision 12990)
-+++ valgrind-3.8.0/coregrind/m_debuginfo/readdwarf.c (working copy)
+--- valgrind/coregrind/m_debuginfo/readdwarf.c (revision 12990)
++++ valgrind/coregrind/m_debuginfo/readdwarf.c (working copy)
@@ -2733,6 +2733,7 @@
Word sw;
UWord uw;
@@ -80,8 +80,8 @@
case DW_OP_minus:
op = Cop_Sub; opname = "minus"; goto binop;
case DW_OP_plus:
---- valgrind-3.8.0/coregrind/m_debuginfo/debuginfo.c (revision 12990)
-+++ valgrind-3.8.0/coregrind/m_debuginfo/debuginfo.c (working copy)
+--- valgrind/coregrind/m_debuginfo/debuginfo.c (revision 12990)
++++ valgrind/coregrind/m_debuginfo/debuginfo.c (working copy)
@@ -2051,7 +2051,7 @@
UWord evalCfiExpr ( XArray* exprs, Int ix,
CfiExprEvalContext* eec, Bool* ok )
@@ -108,8 +108,8 @@
default:
goto unhandled;
}
---- valgrind-3.8.0/coregrind/m_debuginfo/storage.c (revision 12990)
-+++ valgrind-3.8.0/coregrind/m_debuginfo/storage.c (working copy)
+--- valgrind/coregrind/m_debuginfo/storage.c (revision 12990)
++++ valgrind/coregrind/m_debuginfo/storage.c (working copy)
@@ -595,6 +595,16 @@
e.Cex.Binop.ixR = ixR;
return (Int)VG_(addToXA)( dst, &e );
@@ -127,8 +127,8 @@
Int ML_(CfiExpr_CfiReg)( XArray* dst, CfiReg reg )
{
CfiExpr e;
---- valgrind-3.8.0/coregrind/m_debuginfo/priv_storage.h (revision 12990)
-+++ valgrind-3.8.0/coregrind/m_debuginfo/priv_storage.h (working copy)
+--- valgrind/coregrind/m_debuginfo/priv_storage.h (revision 12990)
++++ valgrind/coregrind/m_debuginfo/priv_storage.h (working copy)
@@ -296,6 +296,14 @@
typedef
diff --git a/valgrind-3.8.0-config_h.patch b/valgrind-3.8.1-config_h.patch
similarity index 100%
rename from valgrind-3.8.0-config_h.patch
rename to valgrind-3.8.1-config_h.patch
diff --git a/valgrind-3.8.0-enable-armv5.patch b/valgrind-3.8.1-enable-armv5.patch
similarity index 58%
rename from valgrind-3.8.0-enable-armv5.patch
rename to valgrind-3.8.1-enable-armv5.patch
index 9f9a66f..2bc23b6 100644
--- a/valgrind-3.8.0-enable-armv5.patch
+++ b/valgrind-3.8.1-enable-armv5.patch
@@ -1,5 +1,5 @@
---- valgrind-3.7.0.old/configure.in 2012-03-05 15:16:23.000000000 -0500
-+++ valgrind-3.7.0/configure.in 2012-03-05 13:49:04.000000000 -0500
+--- valgrind/configure.in 2012-03-05 15:16:23.000000000 -0500
++++ valgrind/configure.in 2012-03-05 13:49:04.000000000 -0500
@@ -186,7 +186,7 @@ case "${host_cpu}" in
ARCH_MAX="s390x"
;;
@@ -9,8 +9,8 @@
AC_MSG_RESULT([ok (${host_cpu})])
ARCH_MAX="arm"
;;
---- valgrind-3.7.0.old/configure 2012-03-05 15:16:23.000000000 -0500
-+++ valgrind-3.7.0/configure 2012-03-05 13:49:04.000000000 -0500
+--- valgrind/configure 2012-03-05 15:16:23.000000000 -0500
++++ valgrind/configure 2012-03-05 13:49:04.000000000 -0500
@@ -5335,7 +5335,7 @@
ARCH_MAX="s390x"
;;
diff --git a/valgrind-3.8.0-find-buildid.patch b/valgrind-3.8.1-find-buildid.patch
similarity index 85%
rename from valgrind-3.8.0-find-buildid.patch
rename to valgrind-3.8.1-find-buildid.patch
index f58d59f..078bdb0 100644
--- a/valgrind-3.8.0-find-buildid.patch
+++ b/valgrind-3.8.1-find-buildid.patch
@@ -1,7 +1,5 @@
-Index: coregrind/m_debuginfo/readelf.c
-===================================================================
---- valgrind-3.8.0/coregrind/m_debuginfo/readelf.c (revision 12871)
-+++ valgrind-3.8.0/coregrind/m_debuginfo/readelf.c (working copy)
+--- valgrind/coregrind/m_debuginfo/readelf.c (revision 12871)
++++ valgrind/coregrind/m_debuginfo/readelf.c (working copy)
@@ -888,7 +888,7 @@
* http://fedoraproject.org/wiki/RolandMcGrath/BuildID
*/
diff --git a/valgrind-3.8.0-helgrind-race-supp.patch b/valgrind-3.8.1-helgrind-race-supp.patch
similarity index 100%
rename from valgrind-3.8.0-helgrind-race-supp.patch
rename to valgrind-3.8.1-helgrind-race-supp.patch
diff --git a/valgrind-3.8.0-ldso-supp.patch b/valgrind-3.8.1-ldso-supp.patch
similarity index 78%
rename from valgrind-3.8.0-ldso-supp.patch
rename to valgrind-3.8.1-ldso-supp.patch
index 1f999b8..d7a42c7 100644
--- a/valgrind-3.8.0-ldso-supp.patch
+++ b/valgrind-3.8.1-ldso-supp.patch
@@ -1,5 +1,5 @@
---- valgrind-3.7.0/glibc-2.X.supp.in.jj 2011-10-26 23:24:45.000000000 +0200
-+++ valgrind-3.7.0/glibc-2.X.supp.in 2012-05-07 10:55:20.395942656 +0200
+--- valgrind/glibc-2.X.supp.in.jj 2011-10-26 23:24:45.000000000 +0200
++++ valgrind/glibc-2.X.supp.in 2012-05-07 10:55:20.395942656 +0200
@@ -124,7 +124,7 @@
glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
Memcheck:Cond
diff --git a/valgrind-3.8.0-memcheck-mc_translate-Iop_8HLto16.patch b/valgrind-3.8.1-memcheck-mc_translate-Iop_8HLto16.patch
similarity index 73%
rename from valgrind-3.8.0-memcheck-mc_translate-Iop_8HLto16.patch
rename to valgrind-3.8.1-memcheck-mc_translate-Iop_8HLto16.patch
index 49346a6..5a6390b 100644
--- a/valgrind-3.8.0-memcheck-mc_translate-Iop_8HLto16.patch
+++ b/valgrind-3.8.1-memcheck-mc_translate-Iop_8HLto16.patch
@@ -1,5 +1,5 @@
---- valgrind-3.8.0/memcheck/mc_translate.c (revision 12883)
-+++ valgrind-3.8.0/memcheck/mc_translate.c (revision 12884)
+--- valgrind/memcheck/mc_translate.c (revision 12883)
++++ valgrind/memcheck/mc_translate.c (revision 12884)
@@ -3313,6 +3313,8 @@
case Iop_DivModS128to64:
return mkLazy2(mce, Ity_I128, vatom1, vatom2);
diff --git a/valgrind-3.8.0-openat.patch b/valgrind-3.8.1-openat.patch
similarity index 90%
rename from valgrind-3.8.0-openat.patch
rename to valgrind-3.8.1-openat.patch
index 87a4098..cb3a433 100644
--- a/valgrind-3.8.0-openat.patch
+++ b/valgrind-3.8.1-openat.patch
@@ -15,8 +15,8 @@ main (void)
return 0;
}
---- valgrind-3.8.0/coregrind/m_syswrap/syswrap-linux.c.jj 2007-12-11 00:18:43.000000000 +0100
-+++ valgrind-3.8.0/coregrind/m_syswrap/syswrap-linux.c 2008-03-03 11:35:15.000000000 +0100
+--- valgrind-3.8.1/coregrind/m_syswrap/syswrap-linux.c.jj 2007-12-11 00:18:43.000000000 +0100
++++ valgrind-3.8.1/coregrind/m_syswrap/syswrap-linux.c 2008-03-03 11:35:15.000000000 +0100
@@ -3308,10 +3308,15 @@ PRE(sys_openat)
int, dfd, const char *, filename, int, flags);
}
diff --git a/valgrind-3.8.0-pie.patch b/valgrind-3.8.1-pie.patch
similarity index 100%
rename from valgrind-3.8.0-pie.patch
rename to valgrind-3.8.1-pie.patch
diff --git a/valgrind-3.8.0-stat_h.patch b/valgrind-3.8.1-stat_h.patch
similarity index 100%
rename from valgrind-3.8.0-stat_h.patch
rename to valgrind-3.8.1-stat_h.patch
diff --git a/valgrind-3.8.0-x86-backtrace.patch b/valgrind-3.8.1-x86-backtrace.patch
similarity index 93%
rename from valgrind-3.8.0-x86-backtrace.patch
rename to valgrind-3.8.1-x86-backtrace.patch
index fc9d055..17ff658 100644
--- a/valgrind-3.8.0-x86-backtrace.patch
+++ b/valgrind-3.8.1-x86-backtrace.patch
@@ -1,5 +1,5 @@
---- valgrind-3.8.0/coregrind/m_stacktrace.c.jj 2012-08-05 18:04:16.000000000 +0200
-+++ valgrind-3.8.0/coregrind/m_stacktrace.c 2012-08-10 12:13:46.069797051 +0200
+--- valgrind/coregrind/m_stacktrace.c.jj 2012-08-05 18:04:16.000000000 +0200
++++ valgrind/coregrind/m_stacktrace.c 2012-08-10 12:13:46.069797051 +0200
@@ -149,11 +149,23 @@ UInt VG_(get_StackTrace_wrk) ( ThreadId
/* Try to derive a new (ip,sp,fp) triple from the current
set. */
diff --git a/valgrind.spec b/valgrind.spec
index 2d04240..817a119 100644
--- a/valgrind.spec
+++ b/valgrind.spec
@@ -2,8 +2,8 @@
Summary: Tool for finding memory management bugs in programs
Name: %{?scl_prefix}valgrind
-Version: 3.8.0
-Release: 8%{?dist}
+Version: 3.8.1
+Release: 1%{?dist}
Epoch: 1
License: GPLv2
URL: http://www.valgrind.org/
@@ -13,21 +13,45 @@ Group: Development/Debuggers
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://www.valgrind.org/downloads/valgrind-%{version}.tar.bz2
-Patch1: valgrind-3.8.0-cachegrind-improvements.patch
-Patch2: valgrind-3.8.0-openat.patch
-Patch3: valgrind-3.8.0-helgrind-race-supp.patch
-Patch4: valgrind-3.8.0-stat_h.patch
-Patch5: valgrind-3.8.0-config_h.patch
-Patch6: valgrind-3.8.0-capget.patch
-Patch7: valgrind-3.8.0-pie.patch
-
-Patch9: valgrind-3.8.0-enable-armv5.patch
-Patch10: valgrind-3.8.0-ldso-supp.patch
-Patch11: valgrind-3.8.0-x86-backtrace.patch
-Patch12: valgrind-3.8.0-find-buildid.patch
-Patch13: valgrind-3.8.0-abbrev-parsing.patch
-Patch14: valgrind-3.8.0-lzcnt-tzcnt-bugfix.patch
-Patch15: valgrind-3.8.0-avx-alignment-check.patch
+
+Patch1: valgrind-3.8.1-cachegrind-improvements.patch
+
+# KDE#307103 - sys_openat If pathname is absolute, then dirfd is ignored.
+Patch2: valgrind-3.8.1-openat.patch
+
+# KDE#211352 - helgrind races in helgrind's own mythread_wrapper
+Patch3: valgrind-3.8.1-helgrind-race-supp.patch
+
+Patch4: valgrind-3.8.1-stat_h.patch
+
+# Support really ancient gcc. Check __GNUC__ >= 3 for __builtin_expect.
+Patch5: valgrind-3.8.1-config_h.patch
+
+# KDE#307101 - sys_capget second argument can be NULL
+Patch6: valgrind-3.8.1-capget.patch
+
+# KDE#263034 - Crash when loading some PPC64 binaries
+Patch7: valgrind-3.8.1-pie.patch
+
+# configure detection change from armv7* to armv[57]*.
+Patch8: valgrind-3.8.1-enable-armv5.patch
+
+Patch9: valgrind-3.8.1-ldso-supp.patch
+
+# On x86 GCC 4.6 and later now defaults to -fomit-frame-pointer
+# together with emitting unwind info (-fasynchronous-unwind-tables).
+# So, try CF info first.
+Patch10: valgrind-3.8.1-x86-backtrace.patch
+
+# KDE#305431 - Use find_buildid shdr fallback for separate .debug files
+Patch11: valgrind-3.8.1-find-buildid.patch
+
+# KDE#305513 - Robustify abbrev reading (part already upstream).
+Patch12: valgrind-3.8.1-abbrev-parsing.patch
+
+# KDE#307038 - DWARF2 CFI reader: unhandled DW_OP_ opcode 0x8 (DW_OP_const1u)
+Patch13: valgrind-3.8.1-cfi_dw_ops.patch
+
# KDE#305728 - Add support for AVX2, BMI1, BMI2 and FMA instructions
# Combined patch for:
@@ -49,16 +73,16 @@ Patch15: valgrind-3.8.0-avx-alignment-check.patch
# ./none/tests/amd64/avx2-1.stderr.exp
# ./none/tests/amd64/fma.stderr.exp
# ./none/tests/amd64/bmi.stderr.exp
-Patch16: valgrind-3.8.0-avx2-bmi-fma.patch.gz
+Patch21: valgrind-3.8.1-avx2-bmi-fma.patch.gz
# Small fixup for above patch, just a configure check.
# This is equivalent to valgrind-bmi-5.patch from KDE#305728
-Patch17: valgrind-3.8.0-bmi-conf-check.patch
+Patch22: valgrind-3.8.1-bmi-conf-check.patch
# Partial backport of upstream revision 12884 without it AVX2 VPBROADCASTB
# insn is broken under memcheck.
-Patch18: valgrind-3.8.0-memcheck-mc_translate-Iop_8HLto16.patch
-Patch19: valgrind-3.8.0-avx2-prereq.patch
+Patch23: valgrind-3.8.1-memcheck-mc_translate-Iop_8HLto16.patch
+# vgtest files should prereq that the binary is there (for old binutils).
+Patch24: valgrind-3.8.1-avx2-prereq.patch
-Patch20: valgrind-3.8.0-cfi_dw_ops.patch
Obsoletes: valgrind-callgrind
%ifarch x86_64 ppc64
@@ -150,6 +174,7 @@ for details.
%prep
%setup -q %{?scl:-n %{pkg_name}-%{version}}
+
%patch1 -p1
%patch2 -p1
%patch3 -p1
@@ -157,24 +182,21 @@ for details.
%patch5 -p1
%patch6 -p1
%patch7 -p1
-
+%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
+# Add support for AVX2, BMI1, BMI2 and FMA instructions
+%patch21 -p1
touch ./none/tests/amd64/avx2-1.stderr.exp
touch ./none/tests/amd64/fma.stderr.exp
touch ./none/tests/amd64/bmi.stderr.exp
-%patch17 -p1
-%patch18 -p1
-%patch19 -p1
-
-%patch20 -p1
+%patch22 -p1
+%patch23 -p1
+%patch24 -p1
%build
# We need to use the software collection compiler and binutils if available.
@@ -301,7 +323,7 @@ echo ===============END TESTING===============
%endif
%changelog
-* Thu Sep 20 2012 Mark Wielaard <mjw at redhat.com>
+* Thu Sep 20 2012 Mark Wielaard <mjw at redhat.com> 3.8.1-1
- Add partial backport of upstream revision 12884
valgrind-3.8.0-memcheck-mc_translate-Iop_8HLto16.patch
without it AVX2 VPBROADCASTB insn is broken under memcheck.
@@ -312,6 +334,7 @@ echo ===============END TESTING===============
Makefile.in from valgrind-3.8.0-avx2-bmi-fma.patch.gz
- Remove valgrind-3.8.0-tests.patch tests no longer hang.
- Added SCL macros to support building as part of a Software Collection.
+- Upgrade to valgrind 3.8.1.
* Wed Sep 12 2012 Mark Wielaard <mjw at redhat.com> 3.8.0-8
- Add configure fixup valgrind-3.8.0-bmi-conf-check.patch
More information about the scm-commits
mailing list