ITADN

Kernel build fails during linking with CONFIG_DEBUG_INFO_BTF=y

#1206Openinvarman 创建于 2026-05-09
bugupstream
I
invarmancommented
### Same-issue check Yes ### Linux Distribution Gentoo ### Kernel version 7.0.X ### What happened? Fails during linking with variety of errors depending on pahole version installed (both with GCC and Clang) 7.0.5 with pahole 1.31, GCC, no LTO: ``` adding symbol bpf_tcp_ca_check_kfunc_ids adding symbol tcp_reno_ssthresh adding symbol tcp_reno_cong_avoid adding symbol tcp_reno_undo_cwnd adding symbol tcp_slow_start adding symbol tcp_cong_avoid_ai adding symbol xfrm_state_kfunc_set adding symbol bpf_xdp_get_xfrm_state adding symbol bpf_xdp_xfrm_state_release FAILED: load BTF from .tmp_vmlinux1.BTF.1: No such file or directory + cleanup + rm -f .tmp_vmlinux1.BTF.1 + rm -f .tmp_vmlinux1.BTF + [ vmlinux = module ] + echo Failed to generate BTF for vmlinux Failed to generate BTF for vmlinux + echo Try to disable CONFIG_DEBUG_INFO_BTF Try to disable CONFIG_DEBUG_INFO_BTF + exit 1 make[2]: *** [scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1 make[1]: *** [/root/linux-tkg/linux-src-git/Makefile:1318: vmlinux] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ``` ### Relevant logs [shell-output.log.txt](https://github.com/user-attachments/files/27553096/shell-output.log.txt) [system-info.txt](https://github.com/user-attachments/files/27553095/system-info.txt) [customization.cfg.txt](https://github.com/user-attachments/files/27553098/customization.cfg.txt) ### My Favorite type(s) of frog Frog, Glass Frog (Centrolenidae)
8 条评论