lists.openwall.net | 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 linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 14 Sep 2021 16:25:55 -0700 From: Andrii Nakryiko <andrii.nakryiko@...il.com> To: Stephen Rothwell <sfr@...b.auug.org.au> Cc: Daniel Borkmann <daniel@...earbox.net>, Alexei Starovoitov <ast@...nel.org>, Networking <netdev@...r.kernel.org>, Andrii Nakryiko <andrii@...nel.org>, Quentin Monnet <quentin@...valent.com>, Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next Mailing List <linux-next@...r.kernel.org>, Arnaldo Carvalho de Melo <acme@...nel.org>, Jiri Olsa <jolsa@...nel.org> Subject: Re: linux-next: build failure after merge of the bpf-next tree On Mon, Sep 13, 2021 at 6:37 PM Stephen Rothwell <sfr@...b.auug.org.au> wrote: > > Hi all, > > After merging the bpf-next tree, today's linux-next build (perf) failed > like this: > > util/bpf-event.c: In function 'btf__load_from_kernel_by_id': > util/bpf-event.c:27:8: error: 'btf__get_from_id' is deprecated: libbpf v0.6+: use btf__load_from_kernel_by_id instead [-Werror=deprecated-declarations] > 27 | int err = btf__get_from_id(id, &btf); > | ^~~ > In file included from util/bpf-event.c:5: > /home/sfr/next/next/tools/lib/bpf/btf.h:54:16: note: declared here > 54 | LIBBPF_API int btf__get_from_id(__u32 id, struct btf **btf); > | ^~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > > Caused by commit > > 0b46b7550560 ("libbpf: Add LIBBPF_DEPRECATED_SINCE macro for scheduling API deprecations") Should be fixed by [0], when applied to perf tree. Thanks for reporting! [0] https://patchwork.kernel.org/project/netdevbpf/patch/20210914170004.4185659-1-andrii@kernel.org/ > > I have used the bpf-next tree from next-20210913 for today. > > -- > Cheers, > Stephen Rothwell
Powered by blists - more mailing lists