Re: objtool warnings in prerelease clang-9

From: Thomas Gleixner
Date: Tue Jul 02 2019 - 21:00:42 EST


Nick,

On Tue, 2 Jul 2019, Nick Desaulniers wrote:
> On Tue, Jul 2, 2019 at 2:58 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> > On Tue, 2 Jul 2019, Nick Desaulniers wrote:
>
> > > This causes objtool to not find any issues in
> > > arch/x86/kernel/cpu/mtrr/generic.o. I don't observe any duplication
> > > in the __jump_table section of the resulting .o file. It also cuts
> > > down the objtool warnings I observe in a defconfig (listed at the
> > > beginning of the email) from 4 to 2. (platform-quirks.o predates asm
> > > goto,
> >
> > It does not have asm goto inside :)
>
> I think you're conflating arch/x86/kernel/cpu/mtrr/generic.o with
> arch/x86/kernel/platform-quirks.o.

Nope. I deliberately split the quote after the platform-quirks part so the
reply goes near to it. Seems it wasn't as obvious as I thought :)

Thanks,

tglx