On Sat, 2012-12-01 at 23:42 +0100, Mike Hommey wrote: > On Sat, Dec 01, 2012 at 10:17:54PM +0000, Ben Hutchings wrote: > > On Thu, 2012-11-29 at 23:40 +0100, Mike Hommey wrote: > > > Package: linux-tools-3.6 > > > Version: 3.6-1~experimental.1 > > > Severity: important > > > > > > debian/build/tools/perf/Makefile reads: > > > else ifeq ($(DEB_HOST_ARCH_CPU),amd64) > > > KERNEL_ARCH_PERF = x86 > > > > > > This should really be: > > > else ifeq ($(DEB_HOST_ARCH_CPU),amd64) > > > KERNEL_ARCH_PERF = x86_64 > > > > > > Because tools/perf/Makefile has special cases for ARCH=x86_64. This is > > > especially important on 3.7 when building with libunwind. > > > > This doesn't work (by itself) because tools/perf/Makefile needs to > > change ARCH from x86_64 to x86, and that won't happen if we specify ARCH > > on the command line. Possibly we need to pass it as an environment > > variable instead... > > It uses override to do that, which, heh, overrides what's given on the > command line.
Not in the version you reported this against. Ben. > I successfully built linux-tools-3.7 with libunwind > support and ARCH=x86_64 that way (libunwind support doesn't build > without ARCH=x86_64 because it lacks the necessary -l flag which is only > set with ARCH=x86_64) -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity.
signature.asc
Description: This is a digitally signed message part