Re: New "no-cfi indirect call!" build failure on 7.1-rc5

From: Sean Christopherson

Date: Tue May 26 2026 - 09:52:25 EST


On Mon, May 25, 2026, Calvin Owens wrote:
> Hello all,
>
> I'm seeing build failures with the attached kconfig on 7.1-rc5:
>
> running 'make' '-skj32' 'oldconfig' 'tar-pkg' 'LLVM=/home/calvinow/llvm-22.1.5/bin/'
> vmlinux.o: error: objtool: idt_do_interrupt_irqoff+0xe: no-cfi indirect call!
>
> It bisects down to commit 0701c9e17bd903d95b2ddf7dd2e1d8be5027f331:
>
> Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> AuthorDate: Fri May 8 11:18:29 2026 +0200
> Commit: Thomas Gleixner <tglx@xxxxxxxxxx>
> CommitDate: Tue May 19 20:25:51 2026 +0200
>
> x86/kvm/vmx: Move IRQ/NMI dispatch from KVM into x86 core
>
> Nathan noticed it last week in -next:
>
> https://lore.kernel.org/all/20260520230621.GA706311@ax162/
>
> You can reproduce my LLVM with this, in case it matters:
> https://github.com/jcalvinowens/kernel-testing/blob/master/scripts/build-llvm.sh

Peter is on it: https://lore.kernel.org/all/20260526090631.GA4149641@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx