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

From: Naresh Kamboju
Date: Mon Sep 06 2021 - 04:50:07 EST


On Mon, 6 Sept 2021 at 13:39, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> 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?

No.
stable rc Linux 5.14.1-rc1 with gcc-11 - powerpc - FAILED
stable rc Linux 5.14.1-rc1 with gcc-10 - powerpc - PASS


I will check Linux mainline and Linux next and get back to you.

- Naresh