Hi All,
v5.10.211 is failing to build with the attached .config with the following error:
/home/runner/work/drgn/drgn/build/vmtest/linux.git/arch/x86/kernel/paravirt.c: In function 'paravirt_patch_call': /home/runner/work/drgn/drgn/build/vmtest/linux.git/arch/x86/kernel/paravirt.c:65:9: error: implicit declaration of function '__text_gen_insn' [-Werror=implicit-function-declaration] 65 | __text_gen_insn(insn_buff, CALL_INSN_OPCODE, | ^~~~~~~~~~~~~~~ /home/runner/work/drgn/drgn/build/vmtest/linux.git/arch/x86/kernel/paravirt.c:65:36: error: 'CALL_INSN_OPCODE' undeclared (first use in this function) 65 | __text_gen_insn(insn_buff, CALL_INSN_OPCODE, | ^~~~~~~~~~~~~~~~ /home/runner/work/drgn/drgn/build/vmtest/linux.git/arch/x86/kernel/paravirt.c:65:36: note: each undeclared identifier is reported only once for each function it appears in /home/runner/work/drgn/drgn/build/vmtest/linux.git/arch/x86/kernel/paravirt.c:66:47: error: 'CALL_INSN_SIZE' undeclared (first use in this function) 66 | (void *)addr, target, CALL_INSN_SIZE); | ^~~~~~~~~~~~~~ /home/runner/work/drgn/drgn/build/vmtest/linux.git/arch/x86/kernel/paravirt.c:68:1: error: control reaches end of non-void function [-Werror=return-type] 68 | } | ^
Exact same issue here, also since 5.10.211 and still present in 5.10.213.
A bisect shows the same commit: [b253061d4b863f0e9ebf25a3cf0313501a5d51b4] x86/ibt,paravirt: Use text_gen_insn() for paravirt_patch()
I add the used config file in attachment.
Regards, Emeric Brun