On Thursday 2021-12-09 23:09, Yonghong Song wrote: >> >> 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. > > Change above version 0.4.0 to 0.6.0 should work as libbpf 0.6.0 contains > all the changes related to BTF_KIND_{TYPE,DECL}_TAGs. Oh well, it does not. /usr/include/bpf/btf.h makes use of BTF_KIND_{TYPE,DECL}_TAGs, but if /usr/include/linux/btf.h does not have it (yet), compilation of libbpf-using components fails left and right unfortunately despite libbpf itself succeeding in compilation.