linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arm64: defconfig build failed on Linux next-20220721
@ 2022-07-21 13:53 Naresh Kamboju
  2022-07-21 14:02 ` Marc Zyngier
  0 siblings, 1 reply; 3+ messages in thread
From: Naresh Kamboju @ 2022-07-21 13:53 UTC (permalink / raw)
  To: Linux-Next Mailing List, open list, regressions, lkft-triage, Linux ARM
  Cc: Catalin Marinas, Mark Rutland, Mark Brown, Arnd Bergmann,
	Aishwarya TCV, Marc Zyngier, Ard Biesheuvel, Andrew Morton

arm64 defconfig build failed on Linux next-20220721 tag kernel.

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

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

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

* Re: arm64: defconfig build failed on Linux next-20220721
  2022-07-21 13:53 arm64: defconfig build failed on Linux next-20220721 Naresh Kamboju
@ 2022-07-21 14:02 ` Marc Zyngier
  2022-07-22  7:18   ` Naresh Kamboju
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Zyngier @ 2022-07-21 14:02 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Linux-Next Mailing List, open list, regressions, lkft-triage,
	Linux ARM, Catalin Marinas, Mark Rutland, Mark Brown,
	Arnd Bergmann, Aishwarya TCV, Ard Biesheuvel, Andrew Morton

On Thu, 21 Jul 2022 14:53:03 +0100,
Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
> 
> arm64 defconfig build failed on Linux next-20220721 tag kernel.
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> 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/20220721124244.903567-1-maz@kernel.org
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.

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

* Re: arm64: defconfig build failed on Linux next-20220721
  2022-07-21 14:02 ` Marc Zyngier
@ 2022-07-22  7:18   ` Naresh Kamboju
  0 siblings, 0 replies; 3+ messages in thread
From: Naresh Kamboju @ 2022-07-22  7:18 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Linux-Next Mailing List, open list, regressions, lkft-triage,
	Linux ARM, Catalin Marinas, Mark Rutland, Mark Brown,
	Arnd Bergmann, Aishwarya TCV, Ard Biesheuvel, Andrew Morton

On Thu, 21 Jul 2022 at 19:32, Marc Zyngier <maz@kernel.org> wrote:
>
> On Thu, 21 Jul 2022 14:53:03 +0100,
> Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
> >
> > arm64 defconfig build failed on Linux next-20220721 tag kernel.
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >
> > 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/20220721124244.903567-1-maz@kernel.org
> as a potential workaround.
>

I have tested this patch and the reported build problem has been fixed.

Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>

> Another solution would be to have Peter's patch in 5.19 but not in
> 5.20.

- Naresh

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

end of thread, other threads:[~2022-07-22  7:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-21 13:53 arm64: defconfig build failed on Linux next-20220721 Naresh Kamboju
2022-07-21 14:02 ` Marc Zyngier
2022-07-22  7:18   ` 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).