[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYvWkGp9p95DQ5T87GDBmUMecEYBZC0TYHmfwHysanQ7zA@mail.gmail.com>
Date: Mon, 24 Aug 2020 14:30:01 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: bpf <bpf@...r.kernel.org>, Netdev <netdev@...r.kernel.org>,
ast@...com, Daniel Borkmann <daniel@...earbox.net>
Cc: Andrii Nakryiko <andrii.nakryiko@...il.com>,
Kernel Team <kernel-team@...com>,
Andrii Nakryiko <andriin@...com>, lkft-triage@...ts.linaro.org,
Daniel Díaz <daniel.diaz@...aro.org>
Subject: expects argument of type 'size_t', but argument 5 has type 'Elf64_Xword
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
Powered by blists - more mailing lists