From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758525AbdCVD7a (ORCPT ); Tue, 21 Mar 2017 23:59:30 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:49891 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758303AbdCVD7H (ORCPT ); Tue, 21 Mar 2017 23:59:07 -0400 Message-ID: <58D1F680.90902@mentor.com> Date: Tue, 21 Mar 2017 20:58:56 -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: , , , , , , , CC: , , , Subject: [BUG] tools build: Add HOSTARCH Makefile variable Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SVR-ORW-MBX-05.mgc.mentorg.com (147.34.90.205) 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, with commit: 0a943cb10ce7 (tools build: Add HOSTARCH Makefile variable), the following build failure is seen with ARCH=x86_84 when build for perf 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. I have submitted a patch which replaces 'ARCH' in perf with 'SRCARCH', https://lkml.org/lkml/2017/2/27/85 can anyone give your comment? Thanks in advance Jiada