Cachyos kernel sources fails to compile with CONFIG_DEBUG_INFO_BTF
Cachyos sources have continuously failed to compile with CONFIG_DEBUG_INFO_BTF since kernel version 7.0.0. From version 7.0.0 to 7.2.0, it would always fail with this exact same error:
AR drivers/gpu/built-in.a
AR drivers/built-in.a
AR built-in.a
AR built-in-fixup.a
COPY vmlinux.a
GEN .tmp_initcalls.lds
LD vmlinux.o
GEN .vmlinux.objs
MODPOST Module.symvers
CC .vmlinux.export.o
UPD include/generated/utsversion.h
CC init/version-timestamp.o
KSYMS .tmp_vmlinux0.kallsyms.S
AS .tmp_vmlinux0.kallsyms.o
LD .tmp_vmlinux1
BTF .tmp_vmlinux1
Failed to generate BTF for vmlinux
Try to disable CONFIG_DEBUG_INFO_BTF
make[2]: *** [scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1
make[1]: *** [/usr/src/linux-7.2.0-cachyos0/Makefile:1379: vmlinux] Error 2
make: *** [Makefile:248: __sub-make] Error 2
Please resolve this so I can make use of schedulers from sched_ext.
4 条评论