From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752540AbdFMLGe (ORCPT ); Tue, 13 Jun 2017 07:06:34 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:46803 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752033AbdFMLGd (ORCPT ); Tue, 13 Jun 2017 07:06:33 -0400 Message-ID: <593FC733.1080900@mentor.com> Date: Tue, 13 Jun 2017 04:06:27 -0700 From: Jiada Wang User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120411 Thunderbird/11.0.1 MIME-Version: 1.0 To: Jiri Olsa CC: , , , , , , , , , , , , Subject: Re: [PATCH v4 1/1] perf tools: fix perf build with ARCH=x86_64 References: <1491793357-14977-1-git-send-email-jiada_wang@mentor.com> <1491793357-14977-2-git-send-email-jiada_wang@mentor.com> <20170410081715.GC25354@krava> In-Reply-To: <20170410081715.GC25354@krava> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) To svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> >> 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 > Acked-by: Jiri Olsa Is there any other comment on this patch, How can we get this patch be applied? > thanks > jirka