Netdev Archive on
help / color / mirror / Atom feed
From: Naresh Kamboju <>
To: bpf <>, Netdev <>,, Daniel Borkmann <>
Cc: "Andrii Nakryiko" <>,
	"Kernel Team" <>,
	"Andrii Nakryiko" <>,,
	"Daniel Díaz" <>
Subject: expects argument of type 'size_t', but argument 5 has type 'Elf64_Xword
Date: Mon, 24 Aug 2020 14:30:01 +0530	[thread overview]
Message-ID: <> (raw)

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,,MACHINE=am57xx-evm,label=docker-lkft/846/consoleText

- Naresh

             reply	other threads:[~2020-08-24  9:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24  9:00 Naresh Kamboju [this message]
2020-08-26  3:18 ` Andrii Nakryiko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: expects argument of type '\''size_t'\'', but argument 5 has type '\''Elf64_Xword' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).