Re: [PATCH 2/2] tools: perf: fix build error in uapi/linux/mman.h
From: Sudeep Holla
Date: Tue Jan 10 2017 - 12:13:48 EST
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