Re: [PATCH] x86: Fix build regression with CONFIG_KEXEC_JUMP enabled
From: Borislav Petkov
Date: Mon Dec 09 2024 - 05:29:56 EST
On Mon, Dec 09, 2024 at 08:53:32AM +0900, Damien Le Moal wrote:
> Build 6.13-rc12 for x86_64 with gcc 14.2.1 fails with the error:
>
> ld: vmlinux.o: in function `virtual_mapped':
> linux/arch/x86/kernel/relocate_kernel_64.S:249:(.text+0x5915b): undefined reference to `saved_context_gdt_desc'
>
> when CONFIG_KEXEC_JUMP is enabled.
Hmm, how do you trigger this? Care to share your .config?
Because I can't trigger it with my gcc13 and CONFIG_KEXEC_JUMP=y
It would be good to know how the 0day bot didn't catch it either...
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette