diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-05-28 16:49:57 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-03 16:49:19 +0100 |
commit | 4b616f06c1764b6c36d8d9e8fda6897682d91e4b (patch) | |
tree | 6b964d24abb6b05a8c529d4e7982848da8d9f347 /meta/recipes-devtools/elfutils/elfutils-0.158/core_filename.patch | |
parent | 5f45b006046b3685a1141f9dd4f576fd2af6395b (diff) | |
download | poky-4b616f06c1764b6c36d8d9e8fda6897682d91e4b.tar.gz |
elfutils: upgrade to 0.158
Add 'm4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch' to fix cross compiling failure;
Rebase 'elf_additions.diff' for 0.158;
Drop obsolete patches:
- nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch
- elfutils-ar-c-fix-num-passed-to-memset.patch
- fix-build-gcc-4.8.patch
Pick patches from debian:
http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.158-2.debian.tar.xz
We could not directly add elfutils_0.158-2.debian.tar.xz to SRC_URI, because it
contains other souce codes which are not pathces.
(From OE-Core rev: d9c7a02240ce37d5b2569d9177e8ba534b9295ce)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.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/elfutils/elfutils-0.158/core_filename.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils-0.158/core_filename.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.158/core_filename.patch b/meta/recipes-devtools/elfutils/elfutils-0.158/core_filename.patch new file mode 100644 index 0000000000..e2f0576d7b --- /dev/null +++ b/meta/recipes-devtools/elfutils/elfutils-0.158/core_filename.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From: Matthias Klose <doko@ubuntu.com> | ||
2 | Date: Tue, 7 Jan 2014 10:25:29 +0100 | ||
3 | Subject: [PATCH] tests: backtrace-subr.sh (check_native_core) should check | ||
4 | core file name. | ||
5 | |||
6 | Needed when /proc/sys/kernel/core_uses_pid is set to 0. Try to rename | ||
7 | the core file, and if it does still fail, skip the test. | ||
8 | |||
9 | diff --git a/tests/backtrace-subr.sh b/tests/backtrace-subr.sh | ||
10 | index e7ece91..62b873c 100644 | ||
11 | --- a/tests/backtrace-subr.sh | ||
12 | +++ b/tests/backtrace-subr.sh | ||
13 | @@ -111,6 +111,11 @@ check_native_core() | ||
14 | |||
15 | # Skip the test if we cannot adjust core ulimit. | ||
16 | core="core.`ulimit -c unlimited || exit 77; set +ex; testrun ${abs_builddir}/$child --gencore; true`" | ||
17 | + # see if /proc/sys/kernel/core_uses_pid is set to 0 | ||
18 | + if [ -f core ]; then | ||
19 | + mv core "$core" | ||
20 | + fi | ||
21 | + if [ ! -f "$core" ]; then exit 77; fi | ||
22 | |||
23 | if [ "x$SAVED_VALGRIND_CMD" != "x" ]; then | ||
24 | VALGRIND_CMD="$SAVED_VALGRIND_CMD" | ||
25 | -- | ||
26 | 1.9.2 | ||
27 | |||