[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 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...

Ben.

-- 
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.

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


Reply to: