On Wed, 9 Apr 2025 at 07:01, Borah, Chaitanya Kumar <[email protected]> wrote: > > Hello Ard, > > Hope you are doing well. I am Chaitanya from the linux graphics team in Intel. > > This mail is regarding a build failure we are seeing in our CI runs[1] on > linux-next repository. > > Since the version next-20250407[2], we are seeing the following build error. > > ````````````````````````````````````````````````````````````````````````````````` > CALL scripts/checksyscalls.sh > DESCEND objtool > INSTALL libsubcmd_headers > AS arch/x86/boot/startup/efi-mixed.o > arch/x86/boot/startup/efi-mixed.o: error: objtool: efi64_stub_entry(): can't > find starting instruction > make[3]: *** [scripts/Makefile.build:335: arch/x86/boot/startup/efi-mixed.o] > Error 255 > make[3]: *** Deleting file 'arch/x86/boot/startup/efi-mixed.o' > make[2]: *** [scripts/Makefile.build:461: arch/x86/boot/startup] Error 2 > make[1]: *** [/home/kbuild2/kernel/Makefile:2006: .] Error 2 > make: *** [Makefile:248: __sub-make] Error 2 > ````````````````````````````````````````````````````````````````````````````````` > > After bisecting the tree, the following patch [3] seems to be the first "bad" > commit > > ````````````````````````````````````````````````````````````````````````````````````````````````````````` > commit 4f2d1bbc2c92a32fd612e6c3b51832d5c1c3678e > Author: Ard Biesheuvel mailto:[email protected] > Date: Tue Apr 1 15:34:20 2025 +0200 > > x86/boot: Move the EFI mixed mode startup code back under arch/x86, into > startup/ > ````````````````````````````````````````````````````````````````````````````````````````````````````````` > > We also verified that if we revert the patch the issue is not seen. > > Another observation is that build passes when run on "Ubuntu 20.04", in > contrast our CI systems uses "Ubuntu 24.04". > > Could you please check why the patch causes this regression and provide a fix > if necessary? >
This should fix it. Please reply to the patch with a tested-by if it fixes the issue for you. https://lore.kernel.org/linux-efi/[email protected]/T/#u
