On Wednesday 2021-12-08 19:35, Arnaldo Carvalho de Melo wrote: >Em Wed, Dec 08, 2021 at 03:26:31PM +0100, Jan Engelhardt escreveu: >> >> On Wednesday 2021-12-08 14:54, Arnaldo Carvalho de Melo wrote: >> > >> > The v1.23 release of pahole and its friends is out, this time >> >the main new features are the ability to encode BTF tags, to carry >> >> [ 7s] /home/abuild/rpmbuild/BUILD/dwarves-1.23/btf_encoder.c:145:10: error: 'BTF_KIND_DECL_TAG' undeclared here (not in a function); did you mean 'BTF_KIND_FLOAT'? >> >> libbpf-0.5.0 is present, since CMakeLists.txt checked for >= 0.4.0. > >My fault, knowing the flux that libbpf is in getting to 1.0 I should >have retested with the perf tools container based tests. > >Can you think about some fix for that? Lemme see if BTF_KIND_DECL_TAG is >a define or an enum... Just bumping this line pkg_check_modules(LIBBPF REQUIRED libbpf>=0.4.0) to the right version would absolutely be sufficient for us. Of course, that requires that the libbpf project itself at least manages to make tags regularly.