[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771340: linux-tools-3.16: perf not built for arm64



On Fri, 28 Nov 2014 16:49:00 +0000 Steve Capper <steve.capper@linaro.org> wrote:
> Package: linux-tools-3.16
> Severity: important
> Tags: patch
> 
> Dear Maintainer,
> 
> For arm64, perf is not being built for Jessie.
> 
> I have attached a patch which works for me on a Juno board.
>
> A kernel patch is cherry-picked to fix a perf build bug (this only
> affects the arm64 tree).

Thanks, but:
 
> Also, I have modified the build-dep to explicitly pull in binutils-dev.
> (I found that both binutils-dev and libiberty are needed for C++
> demangling support).

This will result in linking against libbfd, but its licence is not
compatible with perf (GPLv3+ vs GPLv2-only).

> Some other build logic is altered in particular the architectures list
> is now set to: linux-any; and the install-tools rule is now an
> unconditional dependency for binary-arch, this took me *ages* to
> find :-(.

This is wrong because we still have some architectures that perf doesn't
build on.

Ben.

> Please let me know if I've missed anything obvious or you would like me
> to run additional tests.
> 
> Cheers,
> -- 
> Steve

-- 
Ben Hutchings
All the simple programs have been written, and all the good names taken.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: