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.s...
-- Linaro LKFT https://lkft.linaro.org
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.s...
-- 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
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
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
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
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
linux-stable-mirror@lists.linaro.org