Blame SOURCES/valgrind-3.10.1-helgrind-supp-io-mempcpy.patch

2601b6
diff --git a/glibc-2.34567-NPTL-helgrind.supp b/glibc-2.34567-NPTL-helgrind.supp
2601b6
index b61a339..ed105b8 100644
2601b6
--- a/glibc-2.34567-NPTL-helgrind.supp
2601b6
+++ b/glibc-2.34567-NPTL-helgrind.supp
2601b6
@@ -23,6 +23,10 @@
2601b6
 #   this, then loads of errors to do with stdio are reported, because
2601b6
 #   H fails to see glibc's internal locking/unlocking of FILE*s
2601b6
 #   as required by POSIX.  A better solution is needed.
2601b6
+#
2601b6
+# - some of the stdio functions in newer glibc manipulate stdio
2601b6
+#   FILE*s state through mempcpy, which we intercept, so we also need
2601b6
+#   to suppress such manipulations.
2601b6
 
2601b6
 #{
2601b6
 #   helgrind-glibc2X-001
2601b6
@@ -41,6 +45,14 @@
2601b6
 }
2601b6
 
2601b6
 {
2601b6
+   helgrind-glibc-io-xsputn-mempcpy
2601b6
+   Helgrind:Race
2601b6
+   fun:__GI_mempcpy
2601b6
+   fun:_IO_*xsputn*
2601b6
+   obj:*/lib*/libc-2.*so*
2601b6
+}
2601b6
+
2601b6
+{
2601b6
    helgrind-glibc2X-005
2601b6
    Helgrind:Race
2601b6
    obj:*/lib*/libpthread-2.*so*