expects argument of type 'size_t', but argument 5 has type 'Elf64_Xword

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

 



while building perf with gcc 7.3.0 on linux next this warning/error is found.

In file included from libbpf.c:55:0:
libbpf.c: In function 'bpf_object__elf_collect':
libbpf_internal.h:74:22: error: format '%zu' expects argument of type
'size_t', but argument 5 has type 'Elf64_Xword {aka long long unsigned
int}' [-Werror=format=]
  libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__);
cc1: all warnings being treated as errors

OE perf build long link,
https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkft,MACHINE=am57xx-evm,label=docker-lkft/846/consoleText

- Naresh



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux