|
Mark Wielaard |
77a7a4 |
diff -ur valgrind-3.9.0.orig/config.h.in valgrind-3.9.0/config.h.in
|
|
Mark Wielaard |
77a7a4 |
--- valgrind-3.9.0.orig/config.h.in 2014-02-21 22:35:28.368908710 +0100
|
|
Mark Wielaard |
77a7a4 |
+++ valgrind-3.9.0/config.h.in 2014-02-21 22:36:09.000000000 +0100
|
|
Mark Wielaard |
77a7a4 |
@@ -57,6 +57,9 @@
|
|
Mark Wielaard |
77a7a4 |
/* Define to 1 if you're using glibc 2.18.x */
|
|
Mark Wielaard |
77a7a4 |
#undef GLIBC_2_18
|
|
Mark Wielaard |
77a7a4 |
|
|
Mark Wielaard |
77a7a4 |
+/* Define to 1 if you're using glibc 2.19.x */
|
|
Mark Wielaard |
77a7a4 |
+#undef GLIBC_2_19
|
|
Mark Wielaard |
77a7a4 |
+
|
|
Mark Wielaard |
77a7a4 |
/* Define to 1 if you're using glibc 2.2.x */
|
|
Mark Wielaard |
77a7a4 |
#undef GLIBC_2_2
|
|
Mark Wielaard |
77a7a4 |
|
|
Mark Wielaard |
77a7a4 |
diff -ur valgrind-3.9.0.orig/configure valgrind-3.9.0/configure
|
|
Mark Wielaard |
77a7a4 |
--- valgrind-3.9.0.orig/configure 2014-02-21 22:35:28.425909165 +0100
|
|
Mark Wielaard |
77a7a4 |
+++ valgrind-3.9.0/configure 2014-02-21 23:20:33.425979851 +0100
|
|
Mark Wielaard |
77a7a4 |
@@ -6689,6 +6689,16 @@
|
|
Mark Wielaard |
77a7a4 |
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
|
Mark Wielaard |
77a7a4 |
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
|
Mark Wielaard |
77a7a4 |
;;
|
|
Mark Wielaard |
77a7a4 |
+ 2.19)
|
|
Mark Wielaard |
77a7a4 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.19 family" >&5
|
|
Mark Wielaard |
77a7a4 |
+$as_echo "2.19 family" >&6; }
|
|
Mark Wielaard |
77a7a4 |
+
|
|
Mark Wielaard |
77a7a4 |
+$as_echo "#define GLIBC_2_19 1" >>confdefs.h
|
|
Mark Wielaard |
77a7a4 |
+
|
|
Mark Wielaard |
77a7a4 |
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
|
|
Mark Wielaard |
77a7a4 |
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
|
Mark Wielaard |
77a7a4 |
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
|
Mark Wielaard |
77a7a4 |
+ ;;
|
|
Mark Wielaard |
77a7a4 |
darwin)
|
|
Mark Wielaard |
77a7a4 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
|
|
Mark Wielaard |
77a7a4 |
$as_echo "Darwin" >&6; }
|
|
Mark Wielaard |
77a7a4 |
@@ -6709,8 +6719,8 @@
|
|
Mark Wielaard |
77a7a4 |
*)
|
|
Mark Wielaard |
77a7a4 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported version ${GLIBC_VERSION}" >&5
|
|
Mark Wielaard |
77a7a4 |
$as_echo "unsupported version ${GLIBC_VERSION}" >&6; }
|
|
Mark Wielaard |
77a7a4 |
- as_fn_error $? "Valgrind requires glibc version 2.2 - 2.17" "$LINENO" 5
|
|
Mark Wielaard |
77a7a4 |
- as_fn_error $? "or Darwin libc" "$LINENO" 5
|
|
Mark Wielaard |
77a7a4 |
+ as_fn_error $? "Valgrind requires glibc version 2.2 - 2.19" "$LINENO" 5
|
|
Mark Wielaard |
77a7a4 |
+ as_fn_error $? "or Darwin or Bionic libc" "$LINENO" 5
|
|
Mark Wielaard |
77a7a4 |
;;
|
|
Mark Wielaard |
77a7a4 |
esac
|
|
Mark Wielaard |
77a7a4 |
|
|
Mark Wielaard |
77a7a4 |
diff -ur valgrind-3.9.0.orig/configure.ac valgrind-3.9.0/configure.ac
|
|
Mark Wielaard |
77a7a4 |
--- valgrind-3.9.0.orig/configure.ac 2014-02-21 22:35:28.368908710 +0100
|
|
Mark Wielaard |
77a7a4 |
+++ valgrind-3.9.0/configure.ac 2014-02-21 22:35:53.044106114 +0100
|
|
Mark Wielaard |
77a7a4 |
@@ -918,6 +918,13 @@
|
|
Mark Wielaard |
77a7a4 |
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
|
Mark Wielaard |
77a7a4 |
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
|
Mark Wielaard |
77a7a4 |
;;
|
|
Mark Wielaard |
77a7a4 |
+ 2.19)
|
|
Mark Wielaard |
77a7a4 |
+ AC_MSG_RESULT(2.19 family)
|
|
Mark Wielaard |
77a7a4 |
+ AC_DEFINE([GLIBC_2_19], 1, [Define to 1 if you're using glibc 2.19.x])
|
|
Mark Wielaard |
77a7a4 |
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
|
|
Mark Wielaard |
77a7a4 |
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
|
Mark Wielaard |
77a7a4 |
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
|
Mark Wielaard |
77a7a4 |
+ ;;
|
|
Mark Wielaard |
77a7a4 |
darwin)
|
|
Mark Wielaard |
77a7a4 |
AC_MSG_RESULT(Darwin)
|
|
Mark Wielaard |
77a7a4 |
AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
|
|
Mark Wielaard |
77a7a4 |
@@ -931,8 +938,8 @@
|
|
Mark Wielaard |
77a7a4 |
|
|
Mark Wielaard |
77a7a4 |
*)
|
|
Mark Wielaard |
77a7a4 |
AC_MSG_RESULT([unsupported version ${GLIBC_VERSION}])
|
|
Mark Wielaard |
77a7a4 |
- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.17])
|
|
Mark Wielaard |
77a7a4 |
- AC_MSG_ERROR([or Darwin libc])
|
|
Mark Wielaard |
77a7a4 |
+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.19])
|
|
Mark Wielaard |
77a7a4 |
+ AC_MSG_ERROR([or Darwin or Bionic libc])
|
|
Mark Wielaard |
77a7a4 |
;;
|
|
Mark Wielaard |
77a7a4 |
esac
|
|
Mark Wielaard |
77a7a4 |
|