Re: [PATCH] perf tools: Fix build failures on ppc64le

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ian,

On Fri, 11 Oct 2024 00:05:21 -0700 Ian Rogers <irogers@xxxxxxxxxx> wrote:
>
> Elsewhere for PPC we carry:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/perf/tests/bp_account.c#n3
> ```
> /*
>  * Powerpc needs __SANE_USERSPACE_TYPES__ before <linux/types.h> to select
>  * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu.
>  */
> #define __SANE_USERSPACE_TYPES__
> ```
> Given the comment I suspect we need to do similar to fix this.
> Stephen, could you test?

I added that to the start of tools/perf/util/evsel.c and it builds fine.

Thanks
-- 
Cheers,
Stephen Rothwell

Attachment: pgptOpC_0PGX3.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux