Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1664751 > unrolled thread

Re: [PATCH v4 1/1] perf tools: fix perf build with ARCH=x86_64

Started byJiada Wang <jiada_wang@mentor.com>
First post2017-06-13 13:10 +0200
Last post2017-06-13 13:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v4 1/1] perf tools: fix perf build with ARCH=x86_64 Jiada Wang <jiada_wang@mentor.com> - 2017-06-13 13:10 +0200

#1664751 — Re: [PATCH v4 1/1] perf tools: fix perf build with ARCH=x86_64

FromJiada Wang <jiada_wang@mentor.com>
Date2017-06-13 13:10 +0200
SubjectRe: [PATCH v4 1/1] perf tools: fix perf build with ARCH=x86_64
Message-ID<tRRRT-7ec-3@gated-at.bofh.it>
Hello

On 04/10/2017 01:17 AM, Jiri Olsa wrote:
> On Sun, Apr 09, 2017 at 08:02:37PM -0700, jiada_wang@mentor.com wrote:
>> From: Jiada Wang<jiada_wang@mentor.com>
>>
>> with commit: 0a943cb10ce78 (tools build: Add HOSTARCH Makefile variable)
>> when build for ARCH=x86_64, ARCH=x86_64 is passed to perf instead of
>> ARCH=x86, so perf package searchs header files from
>> tools/arch/x86_64/include, which doesn't exist.
>>
>> the following build failure is seen when build with ARCH=x86_64
>>
>> In file included from util/event.c:2:0:
>>      tools/include/uapi/linux/mman.h:4:27: fatal error: uapi/asm/mman.h: No such file or directory
>>      compilation terminated.
>>
>> fix this issue by use SRCARCH instead of ARCH in perf.
>>
>> Signed-off-by: Jiada Wang<jiada_wang@mentor.com>
> Acked-by: Jiri Olsa<jolsa@kernel.org>
Is there any other comment on this patch,
How can we get this patch be applied?

> thanks
> jirka

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web