diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-02-12 09:11:19 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-18 08:38:51 +0000 |
commit | 07f49c397864d34725d7ac3708b345934d5f0d49 (patch) | |
tree | 340a785a09d5168539eec3cf15c00a0f5c22a968 /meta | |
parent | 9f77ba3a7d9e8cd2df177473c1fa301432fd6c01 (diff) | |
download | poky-07f49c397864d34725d7ac3708b345934d5f0d49.tar.gz |
valgrind: Add glibc 2.19 awareness
It wont compile otherwise and fail with errors e.g.
Valgrind requires glibc version 2.2 - 2.17 ...
(From OE-Core rev: cc90cbc6d36b9f15a461b877b44c7498c2061744)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind/glibc-2.19.patch | 23 | ||||
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.9.0.bb | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/glibc-2.19.patch b/meta/recipes-devtools/valgrind/valgrind/glibc-2.19.patch new file mode 100644 index 0000000000..7714b997fe --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind/glibc-2.19.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Add support for compiling with glibc 2.19 | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | Index: valgrind-3.9.0/configure.ac | ||
7 | =================================================================== | ||
8 | --- valgrind-3.9.0.orig/configure.ac 2014-02-12 09:03:07.879873700 -0800 | ||
9 | +++ valgrind-3.9.0/configure.ac 2014-02-12 09:07:35.099871774 -0800 | ||
10 | @@ -918,6 +918,13 @@ | ||
11 | DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" | ||
12 | DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}" | ||
13 | ;; | ||
14 | + 2.19) | ||
15 | + AC_MSG_RESULT(2.19 family) | ||
16 | + AC_DEFINE([GLIBC_2_19], 1, [Define to 1 if you're using glibc 2.19.x]) | ||
17 | + DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}" | ||
18 | + DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" | ||
19 | + DEFAULT_SUPP="$srcdir/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]) | ||
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb index e1fb568d4c..64da1a2808 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb | |||
@@ -15,6 +15,7 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ | |||
15 | file://fixed-perl-path.patch \ | 15 | file://fixed-perl-path.patch \ |
16 | file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \ | 16 | file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \ |
17 | file://sepbuildfix.patch \ | 17 | file://sepbuildfix.patch \ |
18 | file://glibc-2.19.patch \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | SRC_URI[md5sum] = "0947de8112f946b9ce64764af7be6df2" | 21 | SRC_URI[md5sum] = "0947de8112f946b9ce64764af7be6df2" |