arm64 defconfig build failed on Linux next-20220721 tag kernel.
Reported-by: Linux Kernel Functional Testing <[email protected]>
Regressions found on arm64:
- build-gcc-11-lkftconfig-64k_page_size
- build-gcc-11-lkftconfig-rcutorture
- build-gcc-11-lkftconfig-devicetree
- build-gcc-11-lkftconfig
- build-gcc-11-lkftconfig-debug
- build-gcc-11-lkftconfig-armv8_features
- build-gcc-11-lkftconfig-kselftest
- build-gcc-11-lkftconfig-kunit
- build-gcc-11-lkftconfig-libgpiod
- build-gcc-11-lkftconfig-kasan
- build-clang-12-lkftconfig
- build-clang-14-lkftconfig
- build-clang-13-lkftconfig
- build-clang-nightly-lkftconfig
- build-gcc-11-lkftconfig-debug-kmemleak
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build
CROSS_COMPILE_COMPAT=arm-linux-gnueabihf- ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
'HOSTCC=sccache gcc'
/builds/linux/arch/arm64/kernel/head.S: Assembler messages:
/builds/linux/arch/arm64/kernel/head.S:334: Error: immediate cannot be
moved by a single instruction
/builds/linux/arch/arm64/kernel/head.S:343: Error: immediate cannot be
moved by a single instruction
/builds/linux/arch/arm64/kernel/head.S:354: Error: immediate cannot be
moved by a single instruction
/builds/linux/arch/arm64/kernel/head.S:379: Error: immediate cannot be
moved by a single instruction
make[3]: *** [/builds/linux/scripts/Makefile.build:382:
arch/arm64/kernel/head.o] Error 1
/builds/linux/arch/arm64/mm/proc.S: Assembler messages:
/builds/linux/arch/arm64/mm/proc.S:296: Error: immediate cannot be
moved by a single instruction
make[3]: *** [/builds/linux/scripts/Makefile.build:382:
arch/arm64/mm/proc.o] Error 1
make[3]: Target '__build' not remade because of errors.
make[2]: *** [/builds/linux/scripts/Makefile.build:525: arch/arm64/mm] Error 2
make[3]: Target '__build' not remade because of errors.
make[2]: *** [/builds/linux/scripts/Makefile.build:525:
arch/arm64/kernel] Error 2
make[2]: Target '__build' not remade because of errors.
make[1]: *** [/builds/linux/Makefile:2005: arch/arm64] Error 2
Build log details link,
https://builds.tuxbuild.com/2CFcb9W3YxjuZPYeK5VFFhsYrbg/
I am running my bisect scripts to find out the first bad commit.
--
Linaro LKFT
https://lkft.linaro.org
On Thu, 21 Jul 2022 14:53:03 +0100,
Naresh Kamboju <[email protected]> wrote:
>
> arm64 defconfig build failed on Linux next-20220721 tag kernel.
>
> Reported-by: Linux Kernel Functional Testing <[email protected]>
>
> Regressions found on arm64:
> - build-gcc-11-lkftconfig-64k_page_size
> - build-gcc-11-lkftconfig-rcutorture
> - build-gcc-11-lkftconfig-devicetree
> - build-gcc-11-lkftconfig
> - build-gcc-11-lkftconfig-debug
> - build-gcc-11-lkftconfig-armv8_features
> - build-gcc-11-lkftconfig-kselftest
> - build-gcc-11-lkftconfig-kunit
> - build-gcc-11-lkftconfig-libgpiod
> - build-gcc-11-lkftconfig-kasan
> - build-clang-12-lkftconfig
> - build-clang-14-lkftconfig
> - build-clang-13-lkftconfig
> - build-clang-nightly-lkftconfig
> - build-gcc-11-lkftconfig-debug-kmemleak
>
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/build
> CROSS_COMPILE_COMPAT=arm-linux-gnueabihf- ARCH=arm64
> CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
> 'HOSTCC=sccache gcc'
> /builds/linux/arch/arm64/kernel/head.S: Assembler messages:
> /builds/linux/arch/arm64/kernel/head.S:334: Error: immediate cannot be
> moved by a single instruction
See https://lore.kernel.org/r/[email protected]
as a potential workaround.
Another solution would be to have Peter's patch in 5.19 but not in
5.20.
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
On Thu, 21 Jul 2022 at 19:32, Marc Zyngier <[email protected]> wrote:
>
> On Thu, 21 Jul 2022 14:53:03 +0100,
> Naresh Kamboju <[email protected]> wrote:
> >
> > arm64 defconfig build failed on Linux next-20220721 tag kernel.
> >
> > Reported-by: Linux Kernel Functional Testing <[email protected]>
> >
> > Regressions found on arm64:
> > - build-gcc-11-lkftconfig-64k_page_size
> > - build-gcc-11-lkftconfig-rcutorture
> > - build-gcc-11-lkftconfig-devicetree
> > - build-gcc-11-lkftconfig
> > - build-gcc-11-lkftconfig-debug
> > - build-gcc-11-lkftconfig-armv8_features
> > - build-gcc-11-lkftconfig-kselftest
> > - build-gcc-11-lkftconfig-kunit
> > - build-gcc-11-lkftconfig-libgpiod
> > - build-gcc-11-lkftconfig-kasan
> > - build-clang-12-lkftconfig
> > - build-clang-14-lkftconfig
> > - build-clang-13-lkftconfig
> > - build-clang-nightly-lkftconfig
> > - build-gcc-11-lkftconfig-debug-kmemleak
> >
> > make --silent --keep-going --jobs=8
> > O=/home/tuxbuild/.cache/tuxmake/builds/1/build
> > CROSS_COMPILE_COMPAT=arm-linux-gnueabihf- ARCH=arm64
> > CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
> > 'HOSTCC=sccache gcc'
> > /builds/linux/arch/arm64/kernel/head.S: Assembler messages:
> > /builds/linux/arch/arm64/kernel/head.S:334: Error: immediate cannot be
> > moved by a single instruction
>
> See https://lore.kernel.org/r/[email protected]
> as a potential workaround.
>
I have tested this patch and the reported build problem has been fixed.
Tested-by: Naresh Kamboju <[email protected]>
> Another solution would be to have Peter's patch in 5.19 but not in
> 5.20.
- Naresh