Author: sewardj
Date: 2007-11-18 14:40:02 +0000 (Sun, 18 Nov 2007)
New Revision: 7181

Log:
Preliminary support for Fedora 8, which includes initial support for
glibc-2.7.

Added:
   trunk/glibc-2.34567-NPTL-helgrind.supp
   trunk/glibc-2.7.supp
Removed:
   trunk/glibc-2.3456-NPTL-helgrind.supp
Modified:
   trunk/Makefile.am
   trunk/configure.in


Modified: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am   2007-11-18 01:40:14 UTC (rev 7180)
+++ trunk/Makefile.am   2007-11-18 14:40:02 UTC (rev 7181)
@@ -20,7 +20,7 @@
 SUPP_FILES = \
        glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp glibc-2.5.supp \
        glibc-2.6.supp aix5libc.supp xfree-3.supp xfree-4.supp \
-       glibc-2.3456-NPTL-helgrind.supp \
+       glibc-2.34567-NPTL-helgrind.supp \
        glibc-2.2-LinuxThreads-helgrind.supp
 
 dist_val_DATA = $(SUPP_FILES) default.supp

Modified: trunk/configure.in
===================================================================
--- trunk/configure.in  2007-11-18 01:40:14 UTC (rev 7180)
+++ trunk/configure.in  2007-11-18 14:40:02 UTC (rev 7181)
@@ -459,6 +459,16 @@
 ],
 libc="2.6")
 
+AC_EGREP_CPP([GLIBC_27], [
+#include <features.h>
+#ifdef __GNU_LIBRARY__
+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 7)
+  GLIBC_27
+ #endif
+#endif
+],
+libc="2.7")
+
 AC_EGREP_CPP([AIX5_LIBC], [
 #include <standards.h>
 #if defined(_AIXVERSION_510) || defined(_AIXVERSION_520) || 
defined(_AIXVERSION_530)
@@ -481,28 +491,34 @@
        AC_MSG_RESULT(2.3 family)
        AC_DEFINE([GLIBC_2_3], 1, [Define to 1 if you're using glibc 2.3.x])
        DEFAULT_SUPP="glibc-2.3.supp ${DEFAULT_SUPP}"
-       DEFAULT_SUPP="glibc-2.3456-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+       DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
        ;;
 
      2.4)
        AC_MSG_RESULT(2.4 family)
        AC_DEFINE([GLIBC_2_4], 1, [Define to 1 if you're using glibc 2.4.x])
        DEFAULT_SUPP="glibc-2.4.supp ${DEFAULT_SUPP}"
-       DEFAULT_SUPP="glibc-2.3456-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+       DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
        ;;
 
      2.5)
        AC_MSG_RESULT(2.5 family)
        AC_DEFINE([GLIBC_2_5], 1, [Define to 1 if you're using glibc 2.5.x])
        DEFAULT_SUPP="glibc-2.5.supp ${DEFAULT_SUPP}"
-       DEFAULT_SUPP="glibc-2.3456-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+       DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
        ;;
      2.6)
        AC_MSG_RESULT(2.6 family)
        AC_DEFINE([GLIBC_2_6], 1, [Define to 1 if you're using glibc 2.6.x])
        DEFAULT_SUPP="glibc-2.6.supp ${DEFAULT_SUPP}"
-       DEFAULT_SUPP="glibc-2.3456-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+       DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
        ;;
+     2.7)
+       AC_MSG_RESULT(2.7 family)
+       AC_DEFINE([GLIBC_2_7], 1, [Define to 1 if you're using glibc 2.7.x])
+       DEFAULT_SUPP="glibc-2.7.supp ${DEFAULT_SUPP}"
+       DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+       ;;
      aix5)
        AC_MSG_RESULT(AIX 5.1 or 5.2 or 5.3)
        AC_DEFINE([AIX5_LIBC], 1, [Define to 1 if you're using AIX 5.1 or 5.2 
or 5.3])
@@ -511,7 +527,7 @@
 
      *)
        AC_MSG_RESULT(unsupported version)
-       AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.6])
+       AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.7])
        AC_MSG_ERROR([or AIX 5.1 or 5.2 or 5.3 libc])
        ;;
 esac

Deleted: trunk/glibc-2.3456-NPTL-helgrind.supp
===================================================================
--- trunk/glibc-2.3456-NPTL-helgrind.supp       2007-11-18 01:40:14 UTC (rev 
7180)
+++ trunk/glibc-2.3456-NPTL-helgrind.supp       2007-11-18 14:40:02 UTC (rev 
7181)
@@ -1,367 +0,0 @@
-
-##----------------------------------------------------------------------##
-# Suppressions for the Helgrind tool when using 
-# a glibc-2.{2,3,4,5,6} system
-
-######------------ glibc-2.5 specific ------------######
-#
-## NB.  This is the "reference set".  Derived sets for
-## glibc 2.4, 2.3 and 2.6 follow below.
-{
-   helgrind-glibc25-001
-   Helgrind:Race
-   obj:/lib*/ld-2.5.*so
-   obj:/lib*/ld-2.5.*so
-}
-{
-   helgrind-glibc25-002
-   Helgrind:Race
-   obj:/lib*/ld-2.5.*so
-   obj:/lib*/libc-2.5.*so
-   obj:/lib*/ld-2.5.*so
-}
-{
-   helgrind-glibc25-003
-   Helgrind:Race
-   obj:/lib*/ld-2.5.*so
-   obj:/lib*/libc-2.5.*so
-   obj:/lib*/libc-2.5.*so
-}
-{
-   helgrind-glibc25-004
-   Helgrind:Race
-   obj:/lib*/libc-2.5.*so
-   obj:/lib*/libc-2.5.*so
-}
-{
-   helgrind-glibc25-005
-   Helgrind:Race
-   obj:/lib*/libpthread-2.5.*so
-   obj:/lib*/libpthread-2.5.*so
-   obj:/lib*/libpthread-2.5.*so
-}
-{
-   helgrind-glibc25-006
-   Helgrind:Race
-   obj:/lib*/libpthread-2.5.*so
-   obj:/lib*/libpthread-2.5.*so
-   obj:/lib*/libc-2.5.*so
-}
-{
-   helgrind-glibc25-007
-   Helgrind:Race
-   obj:/lib*/ld-2.5.*so
-   obj:/lib*/libc-2.5.*so
-   obj:/lib*/libdl-2.5.*so
-}
-{
-   helgrind-glibc25-008
-   Helgrind:Race
-   obj:/lib*/libpthread-2.5.*so
-   obj:/lib*/libc-2.5.*so
-}
-{
-   helgrind-glibc25-009
-   Helgrind:Race
-   obj:/lib*/libc-2.5.*so
-   fun:*
-   obj:/lib*/libc-2.5.*so
-}
-{
-   helgrind-glibc25-010
-   Helgrind:Race
-   obj:/lib*/ld-2.5.*so
-   obj:/lib*/libpthread-2.5.*so
-}
-{
-   helgrind-glibc25-011
-   Helgrind:Race
-   obj:/lib*/libc-2.5.*so
-   obj:/lib*/libpthread-2.5.*so
-}
-{
-   helgrind-glibc25-013
-   Helgrind:Race
-   obj:/lib*/ld-2.5.*so
-   fun:*
-   obj:/lib*/ld-2.5.*so
-}
-{
-   helgrind-glibc25-014
-   Helgrind:Race
-   obj:/lib*/ld-2.5.*so
-   obj:/lib*/ld-2.5.*so
-   obj:/lib*/libpthread-2.5.*so
-}
-
-# These are very ugly.  They are needed to suppress errors inside (eg)
-# NPTL's pthread_cond_signal.  Why only one stack frame -- at least we
-# should see the wrapper calling the real functions, right?
-# Unfortunately, no: the real functions are handwritten assembly (in
-# the glibc-2.5 sources) and does not create a proper stack frame.
-# Therefore it's only one level of unwinding before we're back out in
-# user code rather than the 2 levels you'd expect.
-{
-   helgrind-glibc25-101
-   Helgrind:Race
-   obj:/lib*/libpthread-2.5.*so
-   fun:pthread_*
-}
-{
-   helgrind-glibc25-102
-   Helgrind:Race
-   fun:mythread_wrapper
-   obj:/lib*/libpthread-2.5.*so
-}
-{
-   helgrind-glibc25-103
-   Helgrind:Race
-   fun:pthread_cond_*@@GLIBC_2.3.2
-}
-{
-   helgrind-glibc25-104
-   Helgrind:Race
-   fun:__lll_mutex_*
-}
-{
-   helgrind-glibc25-105
-   Helgrind:Race
-   fun:pthread_rwlock_*lock*
-}
-{
-   helgrind-glibc25-107
-   Helgrind:Race
-   obj:/lib*/libpthread-2.5.*so
-   fun:sem_*
-}
-{
-   helgrind-glibc25-108
-   Helgrind:Race
-   fun:clone
-}
-{
-   helgrind-glibc25-109
-   Helgrind:Race
-   fun:start_thread
-}
-
-######------------ glibc-2.4 specific ------------######
-#
-{
-   helgrind-glibc24-001
-   Helgrind:Race
-   obj:/lib*/ld-2.4.*so
-   obj:/lib*/ld-2.4.*so
-}
-{
-   helgrind-glibc24-003
-   Helgrind:Race
-   obj:/lib*/ld-2.4.*so
-   obj:/lib*/libc-2.4.*so
-   obj:/lib*/libc-2.4.*so
-}
-{
-   helgrind-glibc24-004
-   Helgrind:Race
-   obj:/lib*/libc-2.4.*so
-   obj:/lib*/libc-2.4.*so
-}
-{
-   helgrind-glibc24-005
-   Helgrind:Race
-   obj:/lib*/libpthread-2.4.*so
-   obj:/lib*/libpthread-2.4.*so
-   obj:/lib*/libpthread-2.4.*so
-}
-{
-   helgrind-glibc24-006
-   Helgrind:Race
-   obj:/lib*/libpthread-2.4.*so
-   obj:/lib*/libpthread-2.4.*so
-   obj:/lib*/libc-2.4.*so
-}
-{
-   helgrind-glibc24-008
-   Helgrind:Race
-   obj:/lib*/libpthread-2.4.*so
-   obj:/lib*/libc-2.4.*so
-}
-{
-   helgrind-glibc24-010
-   Helgrind:Race
-   obj:/lib*/ld-2.4.*so
-   obj:/lib*/libpthread-2.4.*so
-}
-{
-   helgrind-glibc24-011
-   Helgrind:Race
-   obj:/lib*/libc-2.4.*so
-   obj:/lib*/libpthread-2.4.*so
-}
-
-{
-   helgrind-glibc24-101
-   Helgrind:Race
-   obj:/lib*/libpthread-2.4.*so
-   fun:pthread_*
-}
-{
-   helgrind-glibc24-102
-   Helgrind:Race
-   fun:mythread_wrapper
-   obj:/lib*/libpthread-2.4.*so
-}
-
-######------------ glibc-2.6 specific ---------######
-#
-{
-   helgrind-glibc26-001
-   Helgrind:Race
-   obj:/lib*/ld-2.6.*so
-   obj:/lib*/ld-2.6.*so
-}
-{
-   helgrind-glibc26-003
-   Helgrind:Race
-   obj:/lib*/ld-2.6.*so
-   obj:/lib*/libc-2.6.*so
-   obj:/lib*/libc-2.6.*so
-}
-{
-   helgrind-glibc26-004
-   Helgrind:Race
-   obj:/lib*/libc-2.6.*so
-   obj:/lib*/libc-2.6.*so
-}
-{
-   helgrind-glibc26-006
-   Helgrind:Race
-   obj:/lib*/libpthread-2.6.*so
-   obj:/lib*/libpthread-2.6.*so
-   obj:/lib*/libc-2.6.*so
-}
-{
-   helgrind-glibc26-008
-   Helgrind:Race
-   obj:/lib*/libpthread-2.6.*so
-   obj:/lib*/libc-2.6.*so
-}
-{
-   helgrind-glibc26-011
-   Helgrind:Race
-   obj:/lib*/libc-2.6.*so
-   obj:/lib*/libpthread-2.6.*so
-}
-{
-   helgrind-glibc26-014
-   Helgrind:Race
-   obj:/lib*/ld-2.6.*so
-   obj:/lib*/ld-2.6.*so
-   obj:/lib*/libpthread-2.6.*so
-}
-
-{
-   helgrind-glibc26-101
-   Helgrind:Race
-   obj:/lib*/libpthread-2.6.*so
-   fun:pthread_*
-}
-{
-   helgrind-glibc26-102
-   Helgrind:Race
-   fun:mythread_wrapper
-   obj:/lib*/libpthread-2.6.*so
-}
-{
-   helgrind-glibc26-106
-   Helgrind:Race
-   fun:__lll_lock_wait
-}
-{
-   helgrind-glibc26-107
-   Helgrind:Race
-   obj:/lib*/libpthread-2.6.*so
-   fun:sem_*
-}
-
-######--------- glibc-2.3 specific ---------######
-{
-   helgrind-glibc23-001
-   Helgrind:Race
-   obj:/lib*/ld-2.3.*so
-   obj:/lib*/ld-2.3.*so
-}
-{
-   helgrind-glibc23-002
-   Helgrind:Race
-   obj:/lib*/ld-2.3.*so
-   obj:/lib*/libc-2.3.*so
-   obj:/lib*/ld-2.3.*so
-}
-{
-   helgrind-glibc23-004
-   Helgrind:Race
-   obj:/lib*/libc-2.3.*so
-   obj:/lib*/libc-2.3.*so
-}
-{
-   helgrind-glibc23-006
-   Helgrind:Race
-   obj:/lib*/libpthread-2.3.*so
-   obj:/lib*/libpthread-2.3.*so
-   obj:/lib*/libc-2.3.*so
-}
-{
-   helgrind-glibc23-008
-   Helgrind:Race
-   obj:/lib*/libpthread-2.3.*so
-   obj:/lib*/libc-2.3.*so
-}
-{
-   helgrind-glibc23-009
-   Helgrind:Race
-   obj:/lib*/libc-2.3.*so
-   obj:/lib*/ld-2.3.*so
-   obj:/lib*/libc-2.3.*so
-}
-{
-   helgrind-glibc23-011
-   Helgrind:Race
-   obj:/lib*/libc-2.3.*so
-   obj:/lib*/libpthread-2.3.*so
-}
-{
-   helgrind-glibc23-012
-   Helgrind:Race
-   obj:/lib*/ld-2.3.*so
-   obj:/lib*/ld-2.3.*so
-   obj:/lib*/libc-2.3.*so
-}
-{
-   helgrind-glibc23-014
-   Helgrind:Race
-   obj:/lib*/ld-2.3.*so
-   obj:/lib*/ld-2.3.*so
-   obj:/lib*/libpthread-2.3.*so
-}
-
-{
-   helgrind-glibc23-100
-   Helgrind:Race
-   obj:/lib*/libpthread-2.3.*so
-   fun:pthread_*
-}
-{
-   helgrind-glibc23-101
-   Helgrind:Race
-   fun:mythread_wrapper
-   obj:/lib*/libpthread-2.3.*so
-}
-
-######------ qt4 specific (GNU mangling) ------######
-{
-   helgrind-qt4-QMutex::lock()-twice
-   Helgrind:Race
-   fun:_ZN6QMutex4lockEv
-   fun:_ZN6QMutex4lockEv
-}

Copied: trunk/glibc-2.34567-NPTL-helgrind.supp (from rev 7180, 
trunk/glibc-2.3456-NPTL-helgrind.supp)
===================================================================
--- trunk/glibc-2.34567-NPTL-helgrind.supp                              (rev 0)
+++ trunk/glibc-2.34567-NPTL-helgrind.supp      2007-11-18 14:40:02 UTC (rev 
7181)
@@ -0,0 +1,367 @@
+
+##----------------------------------------------------------------------##
+# Suppressions for the Helgrind tool when using 
+# a glibc-2.{2,3,4,5,6} system
+
+######------------ glibc-2.5 specific ------------######
+#
+## NB.  This is the "reference set".  Derived sets for
+## glibc 2.4, 2.3 and 2.6 follow below.
+{
+   helgrind-glibc25-001
+   Helgrind:Race
+   obj:/lib*/ld-2.5.*so
+   obj:/lib*/ld-2.5.*so
+}
+{
+   helgrind-glibc25-002
+   Helgrind:Race
+   obj:/lib*/ld-2.5.*so
+   obj:/lib*/libc-2.5.*so
+   obj:/lib*/ld-2.5.*so
+}
+{
+   helgrind-glibc25-003
+   Helgrind:Race
+   obj:/lib*/ld-2.5.*so
+   obj:/lib*/libc-2.5.*so
+   obj:/lib*/libc-2.5.*so
+}
+{
+   helgrind-glibc25-004
+   Helgrind:Race
+   obj:/lib*/libc-2.5.*so
+   obj:/lib*/libc-2.5.*so
+}
+{
+   helgrind-glibc25-005
+   Helgrind:Race
+   obj:/lib*/libpthread-2.5.*so
+   obj:/lib*/libpthread-2.5.*so
+   obj:/lib*/libpthread-2.5.*so
+}
+{
+   helgrind-glibc25-006
+   Helgrind:Race
+   obj:/lib*/libpthread-2.5.*so
+   obj:/lib*/libpthread-2.5.*so
+   obj:/lib*/libc-2.5.*so
+}
+{
+   helgrind-glibc25-007
+   Helgrind:Race
+   obj:/lib*/ld-2.5.*so
+   obj:/lib*/libc-2.5.*so
+   obj:/lib*/libdl-2.5.*so
+}
+{
+   helgrind-glibc25-008
+   Helgrind:Race
+   obj:/lib*/libpthread-2.5.*so
+   obj:/lib*/libc-2.5.*so
+}
+{
+   helgrind-glibc25-009
+   Helgrind:Race
+   obj:/lib*/libc-2.5.*so
+   fun:*
+   obj:/lib*/libc-2.5.*so
+}
+{
+   helgrind-glibc25-010
+   Helgrind:Race
+   obj:/lib*/ld-2.5.*so
+   obj:/lib*/libpthread-2.5.*so
+}
+{
+   helgrind-glibc25-011
+   Helgrind:Race
+   obj:/lib*/libc-2.5.*so
+   obj:/lib*/libpthread-2.5.*so
+}
+{
+   helgrind-glibc25-013
+   Helgrind:Race
+   obj:/lib*/ld-2.5.*so
+   fun:*
+   obj:/lib*/ld-2.5.*so
+}
+{
+   helgrind-glibc25-014
+   Helgrind:Race
+   obj:/lib*/ld-2.5.*so
+   obj:/lib*/ld-2.5.*so
+   obj:/lib*/libpthread-2.5.*so
+}
+
+# These are very ugly.  They are needed to suppress errors inside (eg)
+# NPTL's pthread_cond_signal.  Why only one stack frame -- at least we
+# should see the wrapper calling the real functions, right?
+# Unfortunately, no: the real functions are handwritten assembly (in
+# the glibc-2.5 sources) and does not create a proper stack frame.
+# Therefore it's only one level of unwinding before we're back out in
+# user code rather than the 2 levels you'd expect.
+{
+   helgrind-glibc25-101
+   Helgrind:Race
+   obj:/lib*/libpthread-2.5.*so
+   fun:pthread_*
+}
+{
+   helgrind-glibc25-102
+   Helgrind:Race
+   fun:mythread_wrapper
+   obj:/lib*/libpthread-2.5.*so
+}
+{
+   helgrind-glibc25-103
+   Helgrind:Race
+   fun:pthread_cond_*@@GLIBC_2.3.2
+}
+{
+   helgrind-glibc25-104
+   Helgrind:Race
+   fun:__lll_mutex_*
+}
+{
+   helgrind-glibc25-105
+   Helgrind:Race
+   fun:pthread_rwlock_*lock*
+}
+{
+   helgrind-glibc25-107
+   Helgrind:Race
+   obj:/lib*/libpthread-2.5.*so
+   fun:sem_*
+}
+{
+   helgrind-glibc25-108
+   Helgrind:Race
+   fun:clone
+}
+{
+   helgrind-glibc25-109
+   Helgrind:Race
+   fun:start_thread
+}
+
+######------------ glibc-2.4 specific ------------######
+#
+{
+   helgrind-glibc24-001
+   Helgrind:Race
+   obj:/lib*/ld-2.4.*so
+   obj:/lib*/ld-2.4.*so
+}
+{
+   helgrind-glibc24-003
+   Helgrind:Race
+   obj:/lib*/ld-2.4.*so
+   obj:/lib*/libc-2.4.*so
+   obj:/lib*/libc-2.4.*so
+}
+{
+   helgrind-glibc24-004
+   Helgrind:Race
+   obj:/lib*/libc-2.4.*so
+   obj:/lib*/libc-2.4.*so
+}
+{
+   helgrind-glibc24-005
+   Helgrind:Race
+   obj:/lib*/libpthread-2.4.*so
+   obj:/lib*/libpthread-2.4.*so
+   obj:/lib*/libpthread-2.4.*so
+}
+{
+   helgrind-glibc24-006
+   Helgrind:Race
+   obj:/lib*/libpthread-2.4.*so
+   obj:/lib*/libpthread-2.4.*so
+   obj:/lib*/libc-2.4.*so
+}
+{
+   helgrind-glibc24-008
+   Helgrind:Race
+   obj:/lib*/libpthread-2.4.*so
+   obj:/lib*/libc-2.4.*so
+}
+{
+   helgrind-glibc24-010
+   Helgrind:Race
+   obj:/lib*/ld-2.4.*so
+   obj:/lib*/libpthread-2.4.*so
+}
+{
+   helgrind-glibc24-011
+   Helgrind:Race
+   obj:/lib*/libc-2.4.*so
+   obj:/lib*/libpthread-2.4.*so
+}
+
+{
+   helgrind-glibc24-101
+   Helgrind:Race
+   obj:/lib*/libpthread-2.4.*so
+   fun:pthread_*
+}
+{
+   helgrind-glibc24-102
+   Helgrind:Race
+   fun:mythread_wrapper
+   obj:/lib*/libpthread-2.4.*so
+}
+
+######------------ glibc-2.6 specific ---------######
+#
+{
+   helgrind-glibc26-001
+   Helgrind:Race
+   obj:/lib*/ld-2.6.*so
+   obj:/lib*/ld-2.6.*so
+}
+{
+   helgrind-glibc26-003
+   Helgrind:Race
+   obj:/lib*/ld-2.6.*so
+   obj:/lib*/libc-2.6.*so
+   obj:/lib*/libc-2.6.*so
+}
+{
+   helgrind-glibc26-004
+   Helgrind:Race
+   obj:/lib*/libc-2.6.*so
+   obj:/lib*/libc-2.6.*so
+}
+{
+   helgrind-glibc26-006
+   Helgrind:Race
+   obj:/lib*/libpthread-2.6.*so
+   obj:/lib*/libpthread-2.6.*so
+   obj:/lib*/libc-2.6.*so
+}
+{
+   helgrind-glibc26-008
+   Helgrind:Race
+   obj:/lib*/libpthread-2.6.*so
+   obj:/lib*/libc-2.6.*so
+}
+{
+   helgrind-glibc26-011
+   Helgrind:Race
+   obj:/lib*/libc-2.6.*so
+   obj:/lib*/libpthread-2.6.*so
+}
+{
+   helgrind-glibc26-014
+   Helgrind:Race
+   obj:/lib*/ld-2.6.*so
+   obj:/lib*/ld-2.6.*so
+   obj:/lib*/libpthread-2.6.*so
+}
+
+{
+   helgrind-glibc26-101
+   Helgrind:Race
+   obj:/lib*/libpthread-2.6.*so
+   fun:pthread_*
+}
+{
+   helgrind-glibc26-102
+   Helgrind:Race
+   fun:mythread_wrapper
+   obj:/lib*/libpthread-2.6.*so
+}
+{
+   helgrind-glibc26-106
+   Helgrind:Race
+   fun:__lll_lock_wait
+}
+{
+   helgrind-glibc26-107
+   Helgrind:Race
+   obj:/lib*/libpthread-2.6.*so
+   fun:sem_*
+}
+
+######--------- glibc-2.3 specific ---------######
+{
+   helgrind-glibc23-001
+   Helgrind:Race
+   obj:/lib*/ld-2.3.*so
+   obj:/lib*/ld-2.3.*so
+}
+{
+   helgrind-glibc23-002
+   Helgrind:Race
+   obj:/lib*/ld-2.3.*so
+   obj:/lib*/libc-2.3.*so
+   obj:/lib*/ld-2.3.*so
+}
+{
+   helgrind-glibc23-004
+   Helgrind:Race
+   obj:/lib*/libc-2.3.*so
+   obj:/lib*/libc-2.3.*so
+}
+{
+   helgrind-glibc23-006
+   Helgrind:Race
+   obj:/lib*/libpthread-2.3.*so
+   obj:/lib*/libpthread-2.3.*so
+   obj:/lib*/libc-2.3.*so
+}
+{
+   helgrind-glibc23-008
+   Helgrind:Race
+   obj:/lib*/libpthread-2.3.*so
+   obj:/lib*/libc-2.3.*so
+}
+{
+   helgrind-glibc23-009
+   Helgrind:Race
+   obj:/lib*/libc-2.3.*so
+   obj:/lib*/ld-2.3.*so
+   obj:/lib*/libc-2.3.*so
+}
+{
+   helgrind-glibc23-011
+   Helgrind:Race
+   obj:/lib*/libc-2.3.*so
+   obj:/lib*/libpthread-2.3.*so
+}
+{
+   helgrind-glibc23-012
+   Helgrind:Race
+   obj:/lib*/ld-2.3.*so
+   obj:/lib*/ld-2.3.*so
+   obj:/lib*/libc-2.3.*so
+}
+{
+   helgrind-glibc23-014
+   Helgrind:Race
+   obj:/lib*/ld-2.3.*so
+   obj:/lib*/ld-2.3.*so
+   obj:/lib*/libpthread-2.3.*so
+}
+
+{
+   helgrind-glibc23-100
+   Helgrind:Race
+   obj:/lib*/libpthread-2.3.*so
+   fun:pthread_*
+}
+{
+   helgrind-glibc23-101
+   Helgrind:Race
+   fun:mythread_wrapper
+   obj:/lib*/libpthread-2.3.*so
+}
+
+######------ qt4 specific (GNU mangling) ------######
+{
+   helgrind-qt4-QMutex::lock()-twice
+   Helgrind:Race
+   fun:_ZN6QMutex4lockEv
+   fun:_ZN6QMutex4lockEv
+}

Added: trunk/glibc-2.7.supp
===================================================================
--- trunk/glibc-2.7.supp                                (rev 0)
+++ trunk/glibc-2.7.supp        2007-11-18 14:40:02 UTC (rev 7181)
@@ -0,0 +1,30 @@
+
+# Errors to suppress by default with glibc 2.7.x
+
+# Format of this file is:
+# {
+#     name_of_suppression
+#     tool_name:supp_kind
+#     (optional extra info for some suppression types)
+#     caller0 name, or /name/of/so/file.so
+#     caller1 name, or ditto
+#     (optionally: caller2 name)
+#     (optionally: caller3 name)
+#  }
+#
+# For Memcheck, the supp_kinds are:
+#
+#     Param Value1 Value2 Value4 Value8 Value16 Jump
+#     Free Addr1 Addr2 Addr4 Addr8 Addr16
+#     Cond (previously known as Value0)
+#
+# and the optional extra info is:
+#     if Param: name of system call param
+
+{
+   dl-hack3-1
+   Memcheck:Cond
+   obj:/lib*/ld-2.7*.so*
+   obj:/lib*/ld-2.7*.so*
+   obj:/lib*/ld-2.7*.so*
+}


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to