Re: "relocation to !ENDBR" objtool warnings
From: Arnd Bergmann
Date: Wed Dec 18 2024 - 05:38:58 EST
On Wed, Dec 18, 2024, at 11:08, Peter Zijlstra wrote:
> On Wed, Dec 18, 2024 at 12:47:29AM -0800, Josh Poimboeuf wrote:
>> On Tue, Dec 17, 2024 at 10:09:56AM +0100, Arnd Bergmann wrote:
>> >
>> > No idea why it got inserted here, or why it only shows up in these
>> > two functions. Having a nop before the endbr is a compiler bug, right?
>>
>> Yeah, looks like a bug to me.
>
> Did you find https://gcc.gnu.org/PR116174 again?
Yes, I see my problem now: it turns out that the fixed version
was installed, but I was using the release version in my
randconfig tests, not the one that had the patch.
Arnd