From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965529AbdAJRNo (ORCPT ); Tue, 10 Jan 2017 12:13:44 -0500 Received: from foss.arm.com ([217.140.101.70]:59046 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932422AbdAJRNn (ORCPT ); Tue, 10 Jan 2017 12:13:43 -0500 Subject: Re: [PATCH 2/2] tools: perf: fix build error in uapi/linux/mman.h To: Arnaldo Carvalho de Melo References: <1484043770-13206-1-git-send-email-sudeep.holla@arm.com> <1484043770-13206-2-git-send-email-sudeep.holla@arm.com> <20170110144348.GA2176@redhat.com> Cc: Sudeep Holla , linux-kernel@vger.kernel.org, Jiri Olsa , Wang Nan , Peter Zijlstra , Ingo Molnar , acme@kernel.org From: Sudeep Holla Organization: ARM Message-ID: Date: Tue, 10 Jan 2017 17:13:34 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170110144348.GA2176@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/01/17 14:43, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 10, 2017 at 10:22:50AM +0000, Sudeep Holla escreveu: >> All the other occurrence refer "uapi/asm-generic/*.h" directly instead >> of "uapi/asm/*.h" in tools/include except mman.h. Without this patch, >> the following build failure is seen. >> > > Seen where? I don't see it here, and I build perf for lots of different > systems: > [...] > The ones for cross compiling (-x-) mostly don't have the full set of > devel packages, but even so, I am not seeing this problem, can you > please describe more precisely the environment where you notice this > problem? > > Assuming this is on ARM, based on your e-mail address, for instance, > debian:experimental-x-arm64 is built with this Dockerfile, look at the > packages used: In fact this is on x86_64. I noticed the actual difference today when I was experimenting further. make ARCH=x86_64 -C tools O=/tmp/perf perf ----> fails to build make -C tools O=/tmp/perf perf ----> Builds fine -- Regards, Sudeep