summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-08-21 14:38:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-22 18:30:05 +0100
commit30f85aabe04e87cb25ecf505d0f0cdf6b74f6da6 (patch)
tree2e63c748544c2dbddad8ca1363fb3dc6ab8fa548 /meta
parentd42920486781a0664a49789cfc796b4aef091df8 (diff)
downloadpoky-30f85aabe04e87cb25ecf505d0f0cdf6b74f6da6.tar.gz
valgrind: Backport patch for eglibc 2.18
(From OE-Core rev: 7005f1cd52d64a96a252becd5b1ee7bb5c79ca1a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind-3.8.1/eglibc-2.18.patch27
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.8.1.bb1
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.8.1/eglibc-2.18.patch b/meta/recipes-devtools/valgrind/valgrind-3.8.1/eglibc-2.18.patch
new file mode 100644
index 0000000000..1fa8127302
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind-3.8.1/eglibc-2.18.patch
@@ -0,0 +1,27 @@
1
2
3Found in the SVN valgrind code
4svn diff -c 13504 configure.in
5
6Upstream-Status: Backport
7
8Signed-off-by: Saul Wold <sgw@linux.intel.com>
9
10Index: valgrind-3.8.1/configure.in
11===================================================================
12--- valgrind-3.8.1.orig/configure.in
13+++ valgrind-3.8.1/configure.in
14@@ -924,6 +924,13 @@ case "${GLIBC_VERSION}" in
15 DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
16 DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
17 ;;
18+ 2.18)
19+ AC_MSG_RESULT(2.18 family)
20+ AC_DEFINE([GLIBC_2_18], 1, [Define to 1 if you're using glibc 2.18.x])
21+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
22+ DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
23+ DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
24+ ;;
25 darwin)
26 AC_MSG_RESULT(Darwin)
27 AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
index 33f178c2a1..9630960fee 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
@@ -18,6 +18,7 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
18 file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \ 18 file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \
19 file://configure-with-newer-glibc.patch \ 19 file://configure-with-newer-glibc.patch \
20 file://sepbuildfix.patch \ 20 file://sepbuildfix.patch \
21 file://eglibc-2.18.patch \
21 " 22 "
22 23
23SRC_URI[md5sum] = "288758010b271119a0ffc0183f1d6e38" 24SRC_URI[md5sum] = "288758010b271119a0ffc0183f1d6e38"