lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 24 Aug 2020 14:30:01 +0530
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

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

Powered by blists - more mailing lists