diff --git a/valgrind-3.9.0-s390x-ld-supp.patch b/valgrind-3.9.0-s390x-ld-supp.patch new file mode 100644 index 0000000..4004a90 --- /dev/null +++ b/valgrind-3.9.0-s390x-ld-supp.patch @@ -0,0 +1,14 @@ +--- valgrind-3.9.0/glibc-2.X.supp.in.orig 2013-11-24 20:39:55.165152689 +0100 ++++ valgrind-3.9.0/glibc-2.X.supp.in 2013-11-24 20:46:04.919736611 +0100 +@@ -236,3 +236,11 @@ + Memcheck:Cond + fun:_dl_relocate_object + } ++ ++# KDE#327943 - s390x missing index/strchr suppression for ld.so bad backtrace? ++{ ++ s390x-ld-so-index-dl_open_worker ++ Memcheck:Addr8 ++ fun:index ++ fun:dl_open_worker ++} diff --git a/valgrind.spec b/valgrind.spec index 53bed51..7cde3d9 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -41,6 +41,9 @@ Patch8: valgrind-3.9.0-s390-risbg.patch # KDE#327916 - DW_TAG_typedef may have no name Patch9: valgrind-3.9.0-anon-typedef.patch +# KDE#327943 - s390x missing index/strchr suppression for ld.so bad backtrace? +Patch10: valgrind-3.9.0-s390x-ld-supp.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 @@ -139,6 +142,10 @@ Valgrind User Manual for details. %patch8 -p1 %patch9 -p1 +%ifarch s390x +%patch10 -p1 +%endif + %build # We need to use the software collection compiler and binutils if available. # The configure checks might otherwise miss support for various newer @@ -293,6 +300,7 @@ echo ===============END TESTING=============== %changelog * Fri Nov 22 2013 Mark Wielaard - Add valgrind-3.9.0-anon-typedef.patch. +- Add valgrind-3.9.0-s390x-ld-supp.patch * Wed Nov 20 2013 Mark Wielaard - 3.9.0-2 - Add valgrind-3.9.0-dwz-alt-buildid.patch.