Skip to contentSkip to conversation

libunwind: mark as incomatible with powerpc

PATCH In review Chen Qi 2 participants 3 messages Jul 15, 2019

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover libunwind: mark as incomatible with powerpc

*** BLURB HERE ***
The following changes since commit 80ab79168ede2786868cbd354f0950c949f73527:

gnome-themes-standard: remove (2019-07-11 09:32:50 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/libunwind-ppc
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/libunwind-ppc

Chen Qi (1):
libunwind: mark as incomatible with powerpc

 meta/recipes-kernel/perf/perf.bb                  | 2 ++
 meta/recipes-support/libunwind/libunwind_1.3.1.bb | 3 +++
 2 files changed, 5 insertions(+)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 libunwind: mark as incomatible with powerpc

The libunwind has a README file listing supported archs, powerpc is never declared as supported, thus marking it as incompatible.

---
 meta/recipes-kernel/perf/perf.bb                  | 2 ++
 meta/recipes-support/libunwind/libunwind_1.3.1.bb | 3 +++
 2 files changed, 5 insertions(+)
meta/recipes-kernel/perf/perf.bb +2 -0
index 4e603f1..b905860 100644
@@ -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 \
meta/recipes-support/libunwind/libunwind_1.3.1.bb +3 -0
index 037e04c..e7f5bb3 100644
@@ -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"
Signature · 1 line
1.9.1
#2 lore raw
Quoted 4 lines · Chen Qi

The libunwind has a README file listing supported archs, powerpc is never declared as supported, thus marking it as incompatible.
...

Builds and works on Debian without any major issues reported, not listing it at all in this table (but ppc32 is listed in the next table in README) looks more like an oversight to me.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed