summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-01-16 15:12:54 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-17 14:53:04 +0000
commit8953e4a93ce6ad0257a094fdc6f3cd88ac5e89b9 (patch)
tree77a17c9c2da6dcb051de7bcc381fa56cc5617d7d /meta
parentc3c4bb10fd6eb89d524cda849c095b8711f4c18b (diff)
downloadopenembedded-core-8953e4a93ce6ad0257a094fdc6f3cd88ac5e89b9.tar.gz
openembedded-core-8953e4a93ce6ad0257a094fdc6f3cd88ac5e89b9.tar.bz2
openembedded-core-8953e4a93ce6ad0257a094fdc6f3cd88ac5e89b9.zip
valgrind: Update for eglibc 2.15
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-fix.patch25
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.7.0.bb2
2 files changed, 22 insertions, 5 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-fix.patch b/meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-fix.patch
index a3fce84c20..1f4bd7ef40 100644
--- a/meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-fix.patch
+++ b/meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-fix.patch
@@ -1,13 +1,16 @@
To recognize gcc version from poky in configure.in
+Added GLIBC 2.15 stanza to supported GLIBCs
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Shane Wang <shane.wang@intel.com>
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
-diff -r 91a8df96084a configure.in
---- a/configure.in Fri Dec 23 20:57:01 2011 +0800
-+++ b/configure.in Fri Dec 23 20:59:21 2011 +0800
-@@ -104,11 +104,13 @@
+Index: valgrind-3.7.0/configure.in
+===================================================================
+--- valgrind-3.7.0.orig/configure.in
++++ valgrind-3.7.0/configure.in
+@@ -104,11 +104,13 @@ AC_MSG_CHECKING([for a supported version
#
# i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
# i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
@@ -21,3 +24,17 @@ diff -r 91a8df96084a configure.in
| $SED 's/^[^0-9]*\([0-9.]*\).*$/\1/'`]
is_clang="notclang"
+@@ -779,6 +781,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.15)
++ AC_MSG_RESULT(2.15 family)
++ AC_DEFINE([GLIBC_2_15], 1, [Define to 1 if you're using glibc 2.15.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}"
++ ;;
+ darwin)
+ AC_MSG_RESULT(Darwin)
+ AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
index 858bf3dda6..9c53262c60 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
file://include/valgrind.h;beginline=1;endline=56;md5=aee56014c1dd64260a59fd4df38752f6 \
file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215"
DEPENDS = "virtual/libx11"
-PR = "r2"
+PR = "r3"
SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
file://fix_issue_caused_by_ccache.patch \