summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-07-04 13:12:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:54:01 +0100
commit19fe059b69f69f155f125123b49695ad29975772 (patch)
treed1acaaf9a53113ce7e5452791ad461f8a65495ee /meta/recipes-devtools/valgrind
parenta096caa65c3089d7f5000d2b3fba4494de785f45 (diff)
downloadpoky-19fe059b69f69f155f125123b49695ad29975772.tar.gz
valgrind: Fix build with eglibc 2.16
(From OE-Core rev: 5a59bf0778608b7c5e1073bf38d36b98d831db0d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch32
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.7.0.bb4
2 files changed, 35 insertions, 1 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch b/meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch
new file mode 100644
index 0000000000..c622637d2d
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-with-glibc-2.16.patch
@@ -0,0 +1,32 @@
1Add case for glibc 2.16 and correct error message to denote support until 2.16
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4
5Upstream-Status: Pending
6Index: valgrind-3.7.0/configure.in
7===================================================================
8--- valgrind-3.7.0.orig/configure.in 2012-07-04 12:57:10.557192441 -0700
9+++ valgrind-3.7.0/configure.in 2012-07-04 12:57:58.785194776 -0700
10@@ -788,6 +788,13 @@
11 DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
12 DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
13 ;;
14+ 2.16)
15+ AC_MSG_RESULT(2.16 family)
16+ AC_DEFINE([GLIBC_2_16], 1, [Define to 1 if you're using glibc 2.16.x])
17+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
18+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
19+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
20+ ;;
21 darwin)
22 AC_MSG_RESULT(Darwin)
23 AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
24@@ -801,7 +808,7 @@
25
26 *)
27 AC_MSG_RESULT([unsupported version ${GLIBC_VERSION}])
28- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.14])
29+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.16])
30 AC_MSG_ERROR([or Darwin libc])
31 ;;
32 esac
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
index bb954bdaf7..abda7a6c90 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.7.0.bb
@@ -17,7 +17,9 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
17 file://fixed-perl-path.patch \ 17 file://fixed-perl-path.patch \
18 file://fix_for_automake_1.11.2.patch \ 18 file://fix_for_automake_1.11.2.patch \
19 file://configure-fix.patch \ 19 file://configure-fix.patch \
20 file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch" 20 file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \
21 file://configure-with-glibc-2.16.patch \
22 "
21 23
22SRC_URI[md5sum] = "a855fda56edf05614f099dca316d1775" 24SRC_URI[md5sum] = "a855fda56edf05614f099dca316d1775"
23SRC_URI[sha256sum] = "5d62c0330f1481fe2c593249192fa68ff454c19c34343978cc9ce91aa324cbf6" 25SRC_URI[sha256sum] = "5d62c0330f1481fe2c593249192fa68ff454c19c34343978cc9ce91aa324cbf6"