On 10/15/22 13:48, Philip Müller wrote: > Hi all, > > I just got the following error for 5.10.148 and 5.19.16 when compiling > with pahole 1.24 on CONFIG_DEBUG_INFO_BTF=y: > > BTFIDS vmlinux > FAILED: load BTF from vmlinux: Invalid argument > make: *** [Makefile:1168: vmlinux] Error 255 > make: *** Deleting file 'vmlinux' > > similar to: > https://lore.kernel.org/bpf/20220825171620.cioobudss6ovyrkc@xxxxxxxxxxxx/t/ > > For 5.19 I applied the following patch: > https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/plain/releases/5.15.66/kbuild-add-skip_encoding_btf_enum64-option-to-pahole.patch > > I wonder what is needed to get 5.10 kernel series compiled and if 5.19 > really doesn't support enum64. > This was buried for a month or so but I think it might fix the issue for 5.19 https://lore.kernel.org/bpf/20220916171234.841556-1-yakoyoku@xxxxxxxxx/