[OE-core] [PATCH 1/1] libunwind: mark as incomatible with powerpc
Chen Qi
Qi.Chen at windriver.com
Mon Jul 15 01:55:32 UTC 2019
The libunwind has a README file listing supported archs,
powerpc is never declared as supported, thus marking
it as incompatible.
Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
meta/recipes-kernel/perf/perf.bb | 2 ++
meta/recipes-support/libunwind/libunwind_1.3.1.bb | 3 +++
2 files changed, 5 insertions(+)
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 4e603f1..b905860 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -29,6 +29,8 @@ PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native"
# libunwind is not yet ported for some architectures
PACKAGECONFIG_remove_arc = "libunwind"
PACKAGECONFIG_remove_riscv64 = "libunwind"
+# libunwind does not list powerps as supported
+PACKAGECONFIG_remove_powerpc = "libunwind"
DEPENDS = " \
virtual/${MLPREFIX}libc \
diff --git a/meta/recipes-support/libunwind/libunwind_1.3.1.bb b/meta/recipes-support/libunwind/libunwind_1.3.1.bb
index 037e04c..e7f5bb3 100644
--- a/meta/recipes-support/libunwind/libunwind_1.3.1.bb
+++ b/meta/recipes-support/libunwind/libunwind_1.3.1.bb
@@ -22,3 +22,6 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared"
+
+# As the README in source codes shows, powerpc has never been listed as supported.
+COMPATIBLE_HOST_powerpc = "null"
--
1.9.1
More information about the Openembedded-core
mailing list