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

From: Naresh Kamboju
Date: Mon Sep 06 2021 - 03:40:50 EST


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

- Naresh