BTF: .tmp_vmlinux.btf: pahole version v1.15 is too old, need at least v1.16
Problem Statement
BTF: .tmp_vmlinux.btf: pahole version v1.15 is too old, need at least v1.16
Failed to generate BTF for vmlinux
Try to disable CONFIG_DEBUG_INFO_BTF
make: *** [Makefile:1199: vmlinux] Error 1
Solutions
-
Disable
CONFIG_DEBUG_INFO_BTF
, and recompile Linux kernel. -
Install the higher version of dwarves deb package (v1.17) on Ubuntu 20.04 LTS.
wget http://archive.ubuntu.com/ubuntu/pool/universe/d/dwarves-dfsg/dwarves_1.17-1_amd64.deb
sudo gdebi dwarves_1.17-1_amd64.deb