All of lore.kernel.org
 help / color / mirror / Atom feed
* arm64: entry.S:774: Error: immediate out of range at operand 3 -- `and x2,x19,
@ 2020-12-17  6:43 ` Naresh Kamboju
  0 siblings, 0 replies; 4+ messages in thread
From: Naresh Kamboju @ 2020-12-17  6:43 UTC (permalink / raw)
  To: Linux-Next Mailing List, Linux ARM, open list, lkft-triage
  Cc: Vincenzo Frascino, Stephen Rothwell, Arnd Bergmann,
	Linus Walleij, Catalin Marinas, Will Deacon, Kristina Martsenko,
	Andrew Morton, Mark Rutland, Mark Brown

arm64 build failed on Linux next 20201217 tag with gcc-8, gcc-9 and gcc-10.

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/2/tmp ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
'HOSTCC=sccache gcc'
arch/arm64/kernel/entry.S: Assembler messages:
arch/arm64/kernel/entry.S:774: Error: immediate out of range at
operand 3 -- `and
x2,x19,#((1<<1)|(1<<0)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<7))'
make[3]: *** [scripts/Makefile.build:360: arch/arm64/kernel/entry.o] Error 1


steps to reproduce:
# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.

tuxmake --runtime docker --target-arch arm64 --toolchain gcc-9
--kconfig defconfig

Full build log link,
https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/917491444


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

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

* arm64: entry.S:774: Error: immediate out of range at operand 3 -- `and x2,x19,
@ 2020-12-17  6:43 ` Naresh Kamboju
  0 siblings, 0 replies; 4+ messages in thread
From: Naresh Kamboju @ 2020-12-17  6:43 UTC (permalink / raw)
  To: Linux-Next Mailing List, Linux ARM, open list, lkft-triage
  Cc: Mark Rutland, Stephen Rothwell, Arnd Bergmann, Catalin Marinas,
	Linus Walleij, Kristina Martsenko, Mark Brown, Andrew Morton,
	Vincenzo Frascino, Will Deacon

arm64 build failed on Linux next 20201217 tag with gcc-8, gcc-9 and gcc-10.

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/2/tmp ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
'HOSTCC=sccache gcc'
arch/arm64/kernel/entry.S: Assembler messages:
arch/arm64/kernel/entry.S:774: Error: immediate out of range at
operand 3 -- `and
x2,x19,#((1<<1)|(1<<0)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<7))'
make[3]: *** [scripts/Makefile.build:360: arch/arm64/kernel/entry.o] Error 1


steps to reproduce:
# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.

tuxmake --runtime docker --target-arch arm64 --toolchain gcc-9
--kconfig defconfig

Full build log link,
https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/917491444


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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: arm64: entry.S:774: Error: immediate out of range at operand 3 -- `and x2,x19,
  2020-12-17  6:43 ` Naresh Kamboju
@ 2020-12-17  6:46   ` Stephen Rothwell
  -1 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2020-12-17  6:46 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Linux-Next Mailing List, Linux ARM, open list, lkft-triage,
	Vincenzo Frascino, Arnd Bergmann, Linus Walleij, Catalin Marinas,
	Will Deacon, Kristina Martsenko, Andrew Morton, Mark Rutland,
	Mark Brown

[-- Attachment #1: Type: text/plain, Size: 842 bytes --]

Hi Naresh,

On Thu, 17 Dec 2020 12:13:03 +0530 Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
>
> arm64 build failed on Linux next 20201217 tag with gcc-8, gcc-9 and gcc-10.
> 
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/2/tmp ARCH=arm64
> CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
> 'HOSTCC=sccache gcc'
> arch/arm64/kernel/entry.S: Assembler messages:
> arch/arm64/kernel/entry.S:774: Error: immediate out of range at
> operand 3 -- `and
> x2,x19,#((1<<1)|(1<<0)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<7))'
> make[3]: *** [scripts/Makefile.build:360: arch/arm64/kernel/entry.o] Error 1

This is fixed by commit

  870d16757ba8 ("arm64: make _TIF_WORK_MASK bits contiguous")

in Linus' tree which will be in linux-next tomorrow.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: arm64: entry.S:774: Error: immediate out of range at operand 3 -- `and x2,x19,
@ 2020-12-17  6:46   ` Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2020-12-17  6:46 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Mark Rutland, Arnd Bergmann, Catalin Marinas, Linus Walleij,
	open list, lkft-triage, Linux-Next Mailing List, Mark Brown,
	Kristina Martsenko, Andrew Morton, Vincenzo Frascino,
	Will Deacon, Linux ARM


[-- Attachment #1.1: Type: text/plain, Size: 842 bytes --]

Hi Naresh,

On Thu, 17 Dec 2020 12:13:03 +0530 Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
>
> arm64 build failed on Linux next 20201217 tag with gcc-8, gcc-9 and gcc-10.
> 
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/2/tmp ARCH=arm64
> CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
> 'HOSTCC=sccache gcc'
> arch/arm64/kernel/entry.S: Assembler messages:
> arch/arm64/kernel/entry.S:774: Error: immediate out of range at
> operand 3 -- `and
> x2,x19,#((1<<1)|(1<<0)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<7))'
> make[3]: *** [scripts/Makefile.build:360: arch/arm64/kernel/entry.o] Error 1

This is fixed by commit

  870d16757ba8 ("arm64: make _TIF_WORK_MASK bits contiguous")

in Linus' tree which will be in linux-next tomorrow.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-12-17  6:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17  6:43 arm64: entry.S:774: Error: immediate out of range at operand 3 -- `and x2,x19, Naresh Kamboju
2020-12-17  6:43 ` Naresh Kamboju
2020-12-17  6:46 ` Stephen Rothwell
2020-12-17  6:46   ` Stephen Rothwell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.