<div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 31, 2018 at 11:54 AM Alexey Brodkin <<a href="mailto:alexey.brodkin@synopsys.com">alexey.brodkin@synopsys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">libunwind is not yet ported for ARC & RISCV64 and on attempt<br>
to build it for those arches we just get an error message.<br>
<br>
If we explicitly disable libunwind it is gracefully handled by<br>
perf build system and it just gets configured to not use it<br>
so perf is still usable even on those arches.<br>
</blockquote><div dir="auto"><br></div><div dir="auto">This looks ok to me </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Signed-off-by: Alexey Brodkin <<a href="mailto:abrodkin@synopsys.com" target="_blank">abrodkin@synopsys.com</a>><br>
Cc: Khem Raj <<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>><br>
---<br>
meta/recipes-kernel/perf/<a href="http://perf.bb" rel="noreferrer" target="_blank">perf.bb</a> | 4 ++++<br>
1 file changed, 4 insertions(+)<br>
<br>
diff --git a/meta/recipes-kernel/perf/<a href="http://perf.bb" rel="noreferrer" target="_blank">perf.bb</a> b/meta/recipes-kernel/perf/<a href="http://perf.bb" rel="noreferrer" target="_blank">perf.bb</a><br>
index af099043e1..bae4948751 100644<br>
--- a/meta/recipes-kernel/perf/<a href="http://perf.bb" rel="noreferrer" target="_blank">perf.bb</a><br>
+++ b/meta/recipes-kernel/perf/<a href="http://perf.bb" rel="noreferrer" target="_blank">perf.bb</a><br>
@@ -26,6 +26,10 @@ PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"<br>
PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"<br>
PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native"<br>
<br>
+# libunwind is not yet ported for some architectures<br>
+PACKAGECONFIG_remove_arc = "libunwind"<br>
+PACKAGECONFIG_remove_riscv64 = "libunwind"<br>
+<br>
DEPENDS = " \<br>
virtual/${MLPREFIX}libc \<br>
${MLPREFIX}elfutils \<br>
-- <br>
2.16.2<br>
<br>
</blockquote></div></div>