linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel/kexec_file.o: failed: Cannot find symbol for section 10: .text.unlikely.
@ 2021-09-05 13:58 Naresh Kamboju
  2021-09-05 14:58 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 6+ messages in thread
From: Naresh Kamboju @ 2021-09-05 13:58 UTC (permalink / raw)
  To: Eric Biederman, kexec, open list, linux-stable
  Cc: Greg Kroah-Hartman, Sasha Levin, lkft-triage

Following build errors noticed while building stable rc Linux 5.13.14
with gcc-11 for powerpc architecture.

# to reproduce this build locally:
tuxmake --target-arch=powerpc --kconfig=defconfig --toolchain=gcc-11
--wrapper=sccache --environment=KBUILD_BUILD_TIMESTAMP=@1630691419
--environment=KBUILD_BUILD_USER=tuxmake
--environment=KBUILD_BUILD_HOST=tuxmake
--environment=SCCACHE_BUCKET=sccache.tuxbuild.com --runtime=podman
--image=855116176053.dkr.ecr.us-east-1.amazonaws.com/tuxmake/powerpc_gcc-11
config default kernel xipkernel modules dtbs dtbs-legacy debugkernel
headers

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=powerpc
CROSS_COMPILE=powerpc64le-linux-gnu- 'CC=sccache
powerpc64le-linux-gnu-gcc' 'HOSTCC=sccache gcc' defconfig

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=powerpc
CROSS_COMPILE=powerpc64le-linux-gnu- 'CC=sccache
powerpc64le-linux-gnu-gcc' 'HOSTCC=sccache gcc'
Cannot find symbol for section 10: .text.unlikely.
kernel/kexec_file.o: failed
make[2]: *** [/builds/linux/scripts/Makefile.build:273:
kernel/kexec_file.o] Error 1
make[2]: *** Deleting file 'kernel/kexec_file.o'


Build config:
https://builds.tuxbuild.com/1xdiIZVZuLCW3X1WO2YT6Fsl19w/config

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

meta data:
-----------
    git_repo: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
    git_sha: a603798fb16829e56f80f57879611e67bba4910d
    git_short_log: a603798fb168 (\Linux 5.13.14\)
    kconfig:  defconfig
    kernel_version: 5.13.14
    target_arch: powerpc
    toolchain: gcc-11

steps to reproduce:
https://builds.tuxbuild.com/1xdiIZVZuLCW3X1WO2YT6Fsl19w/tuxmake_reproducer.sh

--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kernel/kexec_file.o: failed: Cannot find symbol for section 10: .text.unlikely.
  2021-09-05 13:58 kernel/kexec_file.o: failed: Cannot find symbol for section 10: .text.unlikely Naresh Kamboju
@ 2021-09-05 14:58 ` Greg Kroah-Hartman
  2021-09-06  7:40   ` Naresh Kamboju
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Kroah-Hartman @ 2021-09-05 14:58 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Eric Biederman, kexec, open list, linux-stable, Sasha Levin, lkft-triage

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.
> 
> # to reproduce this build locally:
> tuxmake --target-arch=powerpc --kconfig=defconfig --toolchain=gcc-11
> --wrapper=sccache --environment=KBUILD_BUILD_TIMESTAMP=@1630691419
> --environment=KBUILD_BUILD_USER=tuxmake
> --environment=KBUILD_BUILD_HOST=tuxmake
> --environment=SCCACHE_BUCKET=sccache.tuxbuild.com --runtime=podman
> --image=855116176053.dkr.ecr.us-east-1.amazonaws.com/tuxmake/powerpc_gcc-11
> config default kernel xipkernel modules dtbs dtbs-legacy debugkernel
> headers
> 
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=powerpc
> CROSS_COMPILE=powerpc64le-linux-gnu- 'CC=sccache
> powerpc64le-linux-gnu-gcc' 'HOSTCC=sccache gcc' defconfig
> 
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/current ARCH=powerpc
> CROSS_COMPILE=powerpc64le-linux-gnu- 'CC=sccache
> powerpc64le-linux-gnu-gcc' 'HOSTCC=sccache gcc'
> Cannot find symbol for section 10: .text.unlikely.
> kernel/kexec_file.o: failed
> make[2]: *** [/builds/linux/scripts/Makefile.build:273:
> kernel/kexec_file.o] Error 1
> make[2]: *** Deleting file 'kernel/kexec_file.o'
> 
> 
> Build config:
> https://builds.tuxbuild.com/1xdiIZVZuLCW3X1WO2YT6Fsl19w/config
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> meta data:
> -----------
>     git_repo: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
>     git_sha: a603798fb16829e56f80f57879611e67bba4910d
>     git_short_log: a603798fb168 (\Linux 5.13.14\)
>     kconfig:  defconfig
>     kernel_version: 5.13.14
>     target_arch: powerpc
>     toolchain: gcc-11
> 
> steps to reproduce:
> https://builds.tuxbuild.com/1xdiIZVZuLCW3X1WO2YT6Fsl19w/tuxmake_reproducer.sh
> 
> --
> Linaro LKFT
> https://lkft.linaro.org

Is this a regression?  Has this compiler ever been able to build this
arch like this?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kernel/kexec_file.o: failed: Cannot find symbol for section 10: .text.unlikely.
  2021-09-05 14:58 ` Greg Kroah-Hartman
@ 2021-09-06  7:40   ` Naresh Kamboju
  2021-09-06  8:09     ` Greg Kroah-Hartman
  0 siblings, 1 reply; 6+ messages in thread
From: Naresh Kamboju @ 2021-09-06  7:40 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Eric Biederman, kexec, open list, linux-stable, Sasha Levin, lkft-triage

On Sun, 5 Sept 2021 at 20:28, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kernel/kexec_file.o: failed: Cannot find symbol for section 10: .text.unlikely.
  2021-09-06  7:40   ` Naresh Kamboju
@ 2021-09-06  8:09     ` Greg Kroah-Hartman
  2021-09-06  8:49       ` Naresh Kamboju
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Kroah-Hartman @ 2021-09-06  8:09 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Eric Biederman, kexec, open list, linux-stable, Sasha Levin, lkft-triage

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@linuxfoundation.org> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kernel/kexec_file.o: failed: Cannot find symbol for section 10: .text.unlikely.
  2021-09-06  8:09     ` Greg Kroah-Hartman
@ 2021-09-06  8:49       ` Naresh Kamboju
  2021-09-07  6:14         ` Naresh Kamboju
  0 siblings, 1 reply; 6+ messages in thread
From: Naresh Kamboju @ 2021-09-06  8:49 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Eric Biederman, kexec, open list, linux-stable, Sasha Levin, lkft-triage

On Mon, 6 Sept 2021 at 13:39, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> 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@linuxfoundation.org> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kernel/kexec_file.o: failed: Cannot find symbol for section 10: .text.unlikely.
  2021-09-06  8:49       ` Naresh Kamboju
@ 2021-09-07  6:14         ` Naresh Kamboju
  0 siblings, 0 replies; 6+ messages in thread
From: Naresh Kamboju @ 2021-09-07  6:14 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Eric Biederman, kexec, open list, linux-stable, Sasha Levin, lkft-triage

> > > > 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.

Since we started building with gcc-11 last weekend and started
noticing these build failures on stable-rc, mainline and next.
and today's stable-rc review also failed with these combinations.

Linux next master with gcc-11 - powerpc-defconfig - FAILED
Linux mainline master with gcc-11 - powerpc-defconfig - FAILED
stable rc Linux 5.14.2-rc1 with gcc-11 - powerpc-defconfig - FAILED
stable rc Linux 5.13.15-rc1 with gcc-11 - powerpc-defconfig - FAILED
stable rc Linux 5.10.63-rc1 with gcc-11 - powerpc-defconfig - FAILED

FYI,
The following powerpc config build PASS with gcc-11
  - allnoconfig
  - mpc83xx_defconfig
  - tqm8xx_defconfig
  - maple_defconfig
  - cell_defconfig
  - ppc64e_defconfig
  - ppc6xx_defconfig


- Naresh

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-07  6:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-05 13:58 kernel/kexec_file.o: failed: Cannot find symbol for section 10: .text.unlikely Naresh Kamboju
2021-09-05 14:58 ` Greg Kroah-Hartman
2021-09-06  7:40   ` Naresh Kamboju
2021-09-06  8:09     ` Greg Kroah-Hartman
2021-09-06  8:49       ` Naresh Kamboju
2021-09-07  6:14         ` Naresh Kamboju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).