Re: kernel/kexec_file.o: failed: Cannot find symbol for section 10: .text.unlikely.

From: Greg Kroah-Hartman
Date: Mon Sep 06 2021 - 04:09:30 EST


On Mon, Sep 06, 2021 at 01:10:34PM +0530, Naresh Kamboju wrote:
> On Sun, 5 Sept 2021 at 20:28, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > On Sun, Sep 05, 2021 at 07:28:35PM +0530, Naresh Kamboju wrote:
> > > Following build errors noticed while building stable rc Linux 5.13.14
> > > with gcc-11 for powerpc architecture.
>
> <trim>
> > Is this a regression? Has this compiler ever been able to build this
> > arch like this?
>
> Yes. It is a regression with gcc-11.
>
> stable rc Linux 5.13.14 with gcc-11 - powerpc - FAILED
> stable rc Linux 5.13.14 with gcc-10 - powerpc - PASSED

Ah, ok, and does 5.14 or newer work properly?

thanks,

greg k-h