Re: IBT related objtool warnings

From: Peter Zijlstra
Date: Thu Apr 07 2022 - 02:50:01 EST


On Wed, Apr 06, 2022 at 10:43:33PM +0000, Edgecombe, Rick P wrote:
> Hi,
>
> After commit:
> ed53a0d97192 x86/alternative: Use .ibt_endbr_seal to seal indirect calls
>
> I am getting objtool "unreachable instruction" warnings.
>
> On one system with gcc 8.4.0:
> vmlinux.o: warning: objtool: start_secondary()+0x10e: unreachable
> instruction
>
> On another with gcc 11.2.1:
> vmlinux.o: warning: objtool: pvh_start_xen()+0x0: unreachable
> instruction

Could you try with tip/x86/urgent ?