<div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 31, 2018 at 11:54 AM Alexey Brodkin &lt;<a href="mailto:alexey.brodkin@synopsys.com">alexey.brodkin@synopsys.com</a>&gt; 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 &amp; 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 &lt;<a href="mailto:abrodkin@synopsys.com" target="_blank">abrodkin@synopsys.com</a>&gt;<br>
Cc: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<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] = &quot;,NO_JVMTI=1&quot;<br>
 PACKAGECONFIG[audit] = &quot;,NO_LIBAUDIT=1,audit&quot;<br>
 PACKAGECONFIG[manpages] = &quot;,,xmlto-native asciidoc-native&quot;<br>
<br>
+# libunwind is not yet ported for some architectures<br>
+PACKAGECONFIG_remove_arc = &quot;libunwind&quot;<br>
+PACKAGECONFIG_remove_riscv64 = &quot;libunwind&quot;<br>
+<br>
 DEPENDS = &quot; \<br>
     virtual/${MLPREFIX}libc \<br>
     ${MLPREFIX}elfutils \<br>
-- <br>
2.16.2<br>
<br>
</blockquote></div></div>