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

Bug#694759: linux-tools-3.6: Wrong KERNEL_ARCH_PERF set for amd64



On Sat, Dec 01, 2012 at 10:50:22PM +0000, Ben Hutchings wrote:
> 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.

Then you can run "ARCH=x86_64 make" instead of "make ARCH=x86_64"

Mike


Reply to: