|
From: <sv...@va...> - 2015-09-04 10:52:08
|
Author: mjw
Date: Fri Sep 4 11:52:01 2015
New Revision: 15622
Log:
Bug #352130 helgrind reports false races for printfs using mempcpy
Add a new Race suppression.
Modified:
trunk/NEWS
trunk/glibc-2.34567-NPTL-helgrind.supp
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Fri Sep 4 11:52:01 2015
@@ -371,6 +371,7 @@
351756 Intercept platform_memchr$VARIANT$Haswell on OS X
351858 ldsoexec support on Solaris
351873 Newer gcc doesn't allow __builtin_tabortdc[i] in ppc32 mode
+352130 helgrind reports false races for printfs using mempcpy on FILE* state
n-i-bz Provide implementations of certain compiler builtins to support
compilers that may not provide those
n-i-bz Old STABS code is still being compiled, but never used. Remove it.
Modified: trunk/glibc-2.34567-NPTL-helgrind.supp
==============================================================================
--- trunk/glibc-2.34567-NPTL-helgrind.supp (original)
+++ trunk/glibc-2.34567-NPTL-helgrind.supp Fri Sep 4 11:52:01 2015
@@ -23,6 +23,10 @@
# this, then loads of errors to do with stdio are reported, because
# H fails to see glibc's internal locking/unlocking of FILE*s
# as required by POSIX. A better solution is needed.
+#
+# - some of the stdio functions in newer glibc manipulate stdio
+# FILE*s state through mempcpy, which we intercept, so we also need
+# to suppress such manipulations.
#{
# helgrind-glibc2X-001
@@ -41,6 +45,14 @@
}
{
+ helgrind-glibc-io-xsputn-mempcpy
+ Helgrind:Race
+ fun:__GI_mempcpy
+ fun:_IO_*xsputn*
+ obj:*/lib*/libc-2.*so*
+}
+
+{
helgrind-glibc2X-005
Helgrind:Race
obj:*/lib*/libpthread-2.*so*
|