[OE-core] [PATCH] perf: Disable libunwind for ARC & RISCV64

Khem Raj raj.khem at gmail.com
Wed Oct 31 19:24:16 UTC 2018


On Wed, Oct 31, 2018 at 11:54 AM Alexey Brodkin <alexey.brodkin at synopsys.com>
wrote:

> libunwind is not yet ported for ARC & RISCV64 and on attempt
> to build it for those arches we just get an error message.
>
> If we explicitly disable libunwind it is gracefully handled by
> perf build system and it just gets configured to not use it
> so perf is still usable even on those arches.
>

This looks ok to me

>
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> Cc: Khem Raj <raj.khem at gmail.com>
> ---
>  meta/recipes-kernel/perf/perf.bb | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/
> perf.bb
> index af099043e1..bae4948751 100644
> --- a/meta/recipes-kernel/perf/perf.bb
> +++ b/meta/recipes-kernel/perf/perf.bb
> @@ -26,6 +26,10 @@ PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"
>  PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"
>  PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native"
>
> +# libunwind is not yet ported for some architectures
> +PACKAGECONFIG_remove_arc = "libunwind"
> +PACKAGECONFIG_remove_riscv64 = "libunwind"
> +
>  DEPENDS = " \
>      virtual/${MLPREFIX}libc \
>      ${MLPREFIX}elfutils \
> --
> 2.16.2
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181031/57785083/attachment-0002.html>


More information about the Openembedded-core mailing list