Score:0

CentOS 8 compiling kernel 5.13.7 BTF Error

co flag

I'm compiling Kernel 5.13.7 for Centos 8.4.2105

I've got the below error

  MODPOST vmlinux.symvers
  MODINFO modules.builtin.modinfo
  GEN     modules.builtin
BTF: .tmp_vmlinux.btf: pahole (pahole) is not available
Failed to generate BTF for vmlinux
Try to disable CONFIG_DEBUG_INFO_BTF
make: *** [Makefile:1205: vmlinux] Error 1

I tried searching on Google and got this solution https://stackoverflow.com/questions/61657707/btf-tmp-vmlinux-btf-pahole-pahole-is-not-available

But that is only for debian/fedora/OpenSuse

Can someone please help me regarding Centos 8

Score:0
cz flag

You need to enable the CentOS PowerTools repository, then you can install dwarves.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.