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.
--
Best, Philip