Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BTF: .tmp_vmlinux.btf: pahole (pahole) is not available

Getting this error while compiling the kernel version :5.7-rc4

BTF: .tmp_vmlinux.btf: pahole (pahole) is not available
Failed to generate BTF for vmlinux
Try to disable CONFIG_DEBUG_INFO_BTF
make: *** [Makefile:1106: vmlinux] Error 1
like image 258
Sarkar_T Avatar asked May 07 '20 12:05

Sarkar_T


3 Answers

Try to install dwarves:

$ sudo apt install dwarves
like image 51
Patrik Gfeller Avatar answered Oct 05 '22 01:10

Patrik Gfeller


On Fedora, Getting this error while compiling the kernel version :5.7.2(stable)

Try to install

$ sudo dnf install dwarves
like image 38
Wayne Avatar answered Oct 05 '22 02:10

Wayne


On Arch use sudo pacman -S pahole

like image 23
Rafael Malheiros Avatar answered Oct 05 '22 03:10

Rafael Malheiros