[OE-core] [PATCH 0/1] perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64

wenzong.fan at windriver.com wenzong.fan at windriver.com
Sat Oct 26 07:53:15 UTC 2013


From: Wenzong Fan <wenzong.fan at windriver.com>

As the same reason to powerpc64, mips64 also need the flag:

    PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h
    prevents 64-bit userland from seeing this definition, instead defaulting
    to u64 == long in userspace.
    Perf want LL64, flag __SANE_USERSPACE_TYPES__ to get int-ll64.h.
    
    Fix the below issue:
    | tests/attr.c:71:4: error: format '%llu' expects argument of type 'long
    long unsigned int', but argument 6 has type '__u64' [-Werror=format=]
    | tests/attr.c:80:7: error: format '%llu' expects argument of type 'long
    long unsigned int', but argument 4 has type '__u64' [-Werror=format=]
    |        attr->type, attr->config, fd) < 0) {
    |        ^


The following changes since commit 754e8768b69acba89bd6c3ba5dbe55b9df4d8083:

  base.bbclass: fix nondeterministic PACKAGECONFIG processing order (2013-10-24 08:38:27 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib wenzong/perf
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/perf

Wenzong Fan (1):
  perf: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for mips64

 meta/recipes-kernel/perf/perf.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
1.7.9.5




More information about the Openembedded-core mailing list