mirror of
git://git.yoctoproject.org/poky
synced 2026-08-14 01:13:19 +00:00
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>
28 lines
896 B
Diff
28 lines
896 B
Diff
From: Matthias Klose <doko@ubuntu.com>
|
|
Date: Tue, 7 Jan 2014 10:25:29 +0100
|
|
Subject: [PATCH] tests: backtrace-subr.sh (check_native_core) should check
|
|
core file name.
|
|
|
|
Needed when /proc/sys/kernel/core_uses_pid is set to 0. Try to rename
|
|
the core file, and if it does still fail, skip the test.
|
|
|
|
diff --git a/tests/backtrace-subr.sh b/tests/backtrace-subr.sh
|
|
index e7ece91..62b873c 100644
|
|
--- a/tests/backtrace-subr.sh
|
|
+++ b/tests/backtrace-subr.sh
|
|
@@ -111,6 +111,11 @@ check_native_core()
|
|
|
|
# Skip the test if we cannot adjust core ulimit.
|
|
core="core.`ulimit -c unlimited || exit 77; set +ex; testrun ${abs_builddir}/$child --gencore; true`"
|
|
+ # see if /proc/sys/kernel/core_uses_pid is set to 0
|
|
+ if [ -f core ]; then
|
|
+ mv core "$core"
|
|
+ fi
|
|
+ if [ ! -f "$core" ]; then exit 77; fi
|
|
|
|
if [ "x$SAVED_VALGRIND_CMD" != "x" ]; then
|
|
VALGRIND_CMD="$SAVED_VALGRIND_CMD"
|
|
--
|
|
1.9.2
|
|
|