]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
merge revs:
authorJulian Seward <jseward@acm.org>
Sun, 1 Feb 2009 21:46:28 +0000 (21:46 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 1 Feb 2009 21:46:28 +0000 (21:46 +0000)
   9096  Add support for glibc-2.10 (when it eventually appears).
   9097  Suppression update (Helgrind)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_4_BRANCH@9098

configure.in
glibc-2.34567-NPTL-helgrind.supp

index 0787cb3e971e8a5a5e93c21036a01d5295717385..e00b44d8b323dc614558e4e636d9a7f321c6926e 100644 (file)
@@ -528,6 +528,16 @@ AC_EGREP_CPP([GLIBC_29], [
 ],
 GLIBC_VERSION="2.9")
 
+AC_EGREP_CPP([GLIBC_210], [
+#include <features.h>
+#ifdef __GNU_LIBRARY__
+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 10)
+  GLIBC_210
+ #endif
+#endif
+],
+GLIBC_VERSION="2.10")
+
 AC_EGREP_CPP([AIX5_LIBC], [
 #include <standards.h>
 #if defined(_AIXVERSION_510) || defined(_AIXVERSION_520) || defined(_AIXVERSION_530)
@@ -598,6 +608,13 @@ case "${GLIBC_VERSION}" in
        DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
        DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
        ;;
+     2.10)
+       AC_MSG_RESULT(2.10 family)
+       AC_DEFINE([GLIBC_2_10], 1, [Define to 1 if you're using glibc 2.10.x])
+       DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
+       DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+       DEFAULT_SUPP="glibc-2.X-drd.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])
@@ -606,7 +623,7 @@ case "${GLIBC_VERSION}" in
 
      *)
        AC_MSG_RESULT(unsupported version)
-       AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.9])
+       AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.10])
        AC_MSG_ERROR([or AIX 5.1 or 5.2 or 5.3 GLIBC_VERSION])
        ;;
 esac
index 307d29915647c28f505a7f369e59678145c86b87..eb90f2acd567e1e8d79423cc671ff8c2403ffd20 100644 (file)
 
 # helgrind-glibc2X-007 was merged into helgrind-glibc2X-001
 
-{
-   helgrind-glibc2X-008
-   Helgrind:Race
-   obj:/lib*/libpthread-2.*so*
-   obj:/lib*/libc-2.*so*
-}
+# helgrind-glibc2X-008 was merged into helgrind-glibc2X-004
 
 # helgrind-glibc2X-009 was merged into helgrind-glibc2X-004
 
 
 # helgrind-glibc2X-015 was merged into helgrind-glibc2X-004
 
-{
-   helgrind-glibc2X-016
-   Helgrind:Race
-   obj:/lib*/libpthread-2.*so*
-   obj:/lib*/ld-2.*so*
-}
+# helgrind-glibc2X-016 was merged into helgrind-glibc2X-004
 
 # 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
 #
 # helgrind---ld.so-...-dlsym was merged into helgrind-glibc2X-001
 
+
+####################################################
+# To do with GNU libgomp
+#
+{
+   helgrind---libgomp43-1
+   Helgrind:Race
+   fun:gomp_ordered_sync
+}
+
+{
+   helgrind---libgomp43-1
+   Helgrind:Race
+   fun:gomp_ordered_next
+}
+
+{
+   helgrind---libgomp43-1
+   Helgrind:Race
+   fun:gomp_ordered_last
+}