On Sat, 2015-01-31 at 16:42 +0100, Ben Hutchings wrote: > 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. [...] Can you check what I've committed to svn at <http://anonscm.debian.org/viewvc/kernel/dists/sid/linux-tools/> ? (This is the Debian directory only; run 'debian/rules orig' to pull in upstream files from linux-tools_3.16.orig.tar.xz in the parent directory.) It builds for me, but the kernel on the porterbox is 3.16.0 and it logs a bunch of errors when I try to run perf there. I'm hoping a current Debian kernel will work better! Ben. -- 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