diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-01-23 18:34:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-27 16:48:09 +0000 |
commit | 71d47de3b733ce9d77510faee854e12423de79fa (patch) | |
tree | 247eca9344aab208e3a4cc7c1931979ecba26d60 /meta | |
parent | fa7ca65e8b7e5727d3c1f832e81ab28a9a957d36 (diff) | |
download | poky-71d47de3b733ce9d77510faee854e12423de79fa.tar.gz |
elfutils: additional ptest fixes
This should address ARM64 specific failures in particular.
eu-objdump is now installed on all architectures;
ptests fail in its absence and pass when it is present, so it's
useful at least in some scenarios in non-x86 architectures and
fails gracefully otherwise.
The original decision to exclude it was here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5283
(From OE-Core rev: 3a3b20df28f6ace6267b68c34faeef3da4d7ef8a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.178.bb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.178.bb b/meta/recipes-devtools/elfutils/elfutils_0.178.bb index 9393628dd1..8f5deb2c62 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.178.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.178.bb | |||
@@ -58,11 +58,7 @@ RDEPENDS_${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils" | |||
58 | 58 | ||
59 | EXTRA_OECONF_append_class-target += "--disable-tests-rpath" | 59 | EXTRA_OECONF_append_class-target += "--disable-tests-rpath" |
60 | 60 | ||
61 | do_install_append() { | 61 | RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils" |
62 | if [ "${TARGET_ARCH}" != "x86_64" ] && [ -z `echo "${TARGET_ARCH}"|grep 'i.86'` ];then | ||
63 | rm -f ${D}${bindir}/eu-objdump | ||
64 | fi | ||
65 | } | ||
66 | 62 | ||
67 | do_compile_ptest() { | 63 | do_compile_ptest() { |
68 | cd ${B}/tests | 64 | cd ${B}/tests |
@@ -139,6 +135,7 @@ INHIBIT_PACKAGE_STRIP_FILES = "\ | |||
139 | ${PKGD}${PTEST_PATH}/tests/elfstrmerge \ | 135 | ${PKGD}${PTEST_PATH}/tests/elfstrmerge \ |
140 | ${PKGD}${PTEST_PATH}/tests/backtrace-child \ | 136 | ${PKGD}${PTEST_PATH}/tests/backtrace-child \ |
141 | ${PKGD}${PTEST_PATH}/tests/backtrace-data \ | 137 | ${PKGD}${PTEST_PATH}/tests/backtrace-data \ |
138 | ${PKGD}${PTEST_PATH}/tests/backtrace-dwarf \ | ||
142 | ${PKGD}${PTEST_PATH}/tests/deleted \ | 139 | ${PKGD}${PTEST_PATH}/tests/deleted \ |
143 | ${PKGD}${PTEST_PATH}/src/strip \ | 140 | ${PKGD}${PTEST_PATH}/src/strip \ |
144 | ${PKGD}${PTEST_PATH}/src/addr2line \ | 141 | ${PKGD}${PTEST_PATH}/src/addr2line \ |