stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
@ 2020-06-01 15:48 Naresh Kamboju
  2020-06-01 17:02 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 12+ messages in thread
From: Naresh Kamboju @ 2020-06-01 15:48 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin, linux- stable; +Cc: lkft-triage, rmk+kernel

stable-rc 4.9 arm architecture build failed due to
following errors,

# make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
arm-linux-gnueabihf-gcc" O=build zImage
#
../arch/arm/vfp/vfphw.S: Assembler messages:
../arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
../arch/arm/vfp/vfphw.S:233: Error: bad instruction `stcleq p11,cr0,[r0],#32*4'
make[2]: *** [../scripts/Makefile.build:404: arch/arm/vfp/vfphw.o] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [/linux/Makefile:1040: arch/arm/vfp] Error 2
../arch/arm/lib/changebit.S: Assembler messages:
../arch/arm/lib/changebit.S:15: Error: bad instruction `strbne r1,[ip]'
make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/changebit.o] Error 1
../arch/arm/lib/clear_user.S: Assembler messages:
../arch/arm/lib/clear_user.S:33: Error: bad instruction `strbal r2,[r0],#1'
../arch/arm/lib/clear_user.S:34: Error: bad instruction `strble r2,[r0],#1'
../arch/arm/lib/clear_user.S:35: Error: bad instruction `strblt r2,[r0],#1'
../arch/arm/lib/clear_user.S:44: Error: bad instruction `strbne r2,[r0],#1'
../arch/arm/lib/clear_user.S:44: Error: bad instruction `strbne r2,[r0],#1'
make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/clear_user.o] Error 1
../arch/arm/lib/clearbit.S: Assembler messages:
../arch/arm/lib/clearbit.S:15: Error: bad instruction `strbne r1,[ip]'
make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/clearbit.o] Error 1
../arch/arm/lib/copy_from_user.S: Assembler messages:
../arch/arm/lib/copy_from_user.S:96: Error: bad instruction `subshs ip,ip,r2'
../arch/arm/lib/copy_template.S:168: Error: bad instruction `ldrbne r3,[r1],#1'
../arch/arm/lib/copy_template.S:169: Error: bad instruction `ldrbcs r4,[r1],#1'
../arch/arm/lib/copy_template.S:170: Error: bad instruction `ldrbcs ip,[r1],#1'
../arch/arm/lib/copy_template.S:179: Error: bad instruction `ldrbgt r3,[r1],#1'
../arch/arm/lib/copy_template.S:180: Error: bad instruction `ldrbge r4,[r1],#1'
../arch/arm/lib/copy_template.S:181: Error: bad instruction `ldrbal lr,[r1],#1'
make[2]: *** [../scripts/Makefile.build:404:
arch/arm/lib/copy_from_user.o] Error 1
../arch/arm/lib/copy_to_user.S: Assembler messages:
../arch/arm/lib/copy_to_user.S:100: Error: bad instruction `subshs ip,ip,r2'
../arch/arm/lib/copy_template.S:171: Error: bad instruction `strbne r3,[r0],#1'
../arch/arm/lib/copy_template.S:172: Error: bad instruction `strbcs r4,[r0],#1'
../arch/arm/lib/copy_template.S:173: Error: bad instruction `strbcs ip,[r0],#1'
../arch/arm/lib/copy_template.S:182: Error: bad instruction `strbgt r3,[r0],#1'
../arch/arm/lib/copy_template.S:183: Error: bad instruction `strbge r4,[r0],#1'
../arch/arm/lib/copy_template.S:185: Error: bad instruction `strbal lr,[r0],#1'
make[2]: *** [../scripts/Makefile.build:404:
arch/arm/lib/copy_to_user.o] Error 1
../arch/arm/lib/csumpartialcopygeneric.S: Assembler messages:
../arch/arm/lib/csumpartialcopygeneric.S:39: Error: bad instruction
`ldrbal ip,[r0],#1'
../arch/arm/lib/csumpartialcopygeneric.S:46: Error: bad instruction
`ldrbal r8,[r0],#1'
../arch/arm/lib/csumpartialcopygeneric.S:46: Error: bad instruction
`ldrbal ip,[r0],#1'
../arch/arm/lib/csumpartialcopygeneric.S:66: Error: bad instruction
`ldrbal ip,[r0],#1'
../arch/arm/lib/csumpartialcopygeneric.S:73: Error: bad instruction
`ldrbal r8,[r0],#1'
../arch/arm/lib/csumpartialcopygeneric.S:73: Error: bad instruction
`ldrbal ip,[r0],#1'
../arch/arm/lib/csumpartialcopygeneric.S:85: Error: bad instruction
`ldrbal r8,[r0],#1'
../arch/arm/lib/csumpartialcopygeneric.S:277: Error: bad instruction
`ldrbal r5,[r0],#1'
make[2]: *** [../scripts/Makefile.build:404:
arch/arm/lib/csumpartialcopyuser.o] Error 1
../arch/arm/lib/getuser.S: Assembler messages:
../arch/arm/lib/getuser.S:36: Error: bad instruction `sbcscc r2,r2,r1'
../arch/arm/lib/getuser.S:44: Error: bad instruction `sbcscc r2,r2,r1'
../arch/arm/lib/getuser.S:74: Error: bad instruction `sbcscc r2,r2,r1'
../arch/arm/lib/getuser.S:82: Error: bad instruction `sbcscc r2,r2,r1'
make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/getuser.o] Error 1
../arch/arm/lib/putuser.S: Assembler messages:
../arch/arm/lib/putuser.S:36: Error: bad instruction `sbcscc ip,ip,r1'
../arch/arm/lib/putuser.S:43: Error: bad instruction `sbcscc ip,ip,r1'
../arch/arm/lib/putuser.S:65: Error: bad instruction `sbcscc ip,ip,r1'
../arch/arm/lib/putuser.S:72: Error: bad instruction `sbcscc ip,ip,r1'
make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/putuser.o] Error 1
../arch/arm/lib/setbit.S: Assembler messages:
../arch/arm/lib/setbit.S:15: Error: bad instruction `strbne r1,[ip]'
make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/setbit.o] Error 1
../arch/arm/lib/testchangebit.S: Assembler messages:
../arch/arm/lib/testchangebit.S:15: Error: bad instruction `strbne r1,[ip]'
make[2]: *** [../scripts/Makefile.build:404:
arch/arm/lib/testchangebit.o] Error 1
../arch/arm/lib/testclearbit.S: Assembler messages:
../arch/arm/lib/testclearbit.S:15: Error: bad instruction `strbne r1,[ip]'
make[2]: *** [../scripts/Makefile.build:404:
arch/arm/lib/testclearbit.o] Error 1
../arch/arm/lib/testsetbit.S: Assembler messages:
../arch/arm/lib/testsetbit.S:15: Error: bad instruction `strbne r1,[ip]'
make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/testsetbit.o] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [/linux/Makefile:1040: arch/arm/lib] Error 2
make[1]: Target 'zImage' not remade because of errors.
make: *** [Makefile:152: sub-make] Error 2
make: Target 'zImage' not remade because of errors.

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

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

* Re: stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
  2020-06-01 15:48 stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4' Naresh Kamboju
@ 2020-06-01 17:02 ` Greg Kroah-Hartman
  2020-06-01 17:07   ` Russell King - ARM Linux admin
  0 siblings, 1 reply; 12+ messages in thread
From: Greg Kroah-Hartman @ 2020-06-01 17:02 UTC (permalink / raw)
  To: Naresh Kamboju; +Cc: Sasha Levin, linux- stable, lkft-triage, rmk+kernel

On Mon, Jun 01, 2020 at 09:18:34PM +0530, Naresh Kamboju wrote:
> stable-rc 4.9 arm architecture build failed due to
> following errors,
> 
> # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> arm-linux-gnueabihf-gcc" O=build zImage
> #
> ../arch/arm/vfp/vfphw.S: Assembler messages:
> ../arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
> ../arch/arm/vfp/vfphw.S:233: Error: bad instruction `stcleq p11,cr0,[r0],#32*4'
> make[2]: *** [../scripts/Makefile.build:404: arch/arm/vfp/vfphw.o] Error 1
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [/linux/Makefile:1040: arch/arm/vfp] Error 2
> ../arch/arm/lib/changebit.S: Assembler messages:
> ../arch/arm/lib/changebit.S:15: Error: bad instruction `strbne r1,[ip]'
> make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/changebit.o] Error 1
> ../arch/arm/lib/clear_user.S: Assembler messages:
> ../arch/arm/lib/clear_user.S:33: Error: bad instruction `strbal r2,[r0],#1'
> ../arch/arm/lib/clear_user.S:34: Error: bad instruction `strble r2,[r0],#1'
> ../arch/arm/lib/clear_user.S:35: Error: bad instruction `strblt r2,[r0],#1'
> ../arch/arm/lib/clear_user.S:44: Error: bad instruction `strbne r2,[r0],#1'
> ../arch/arm/lib/clear_user.S:44: Error: bad instruction `strbne r2,[r0],#1'
> make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/clear_user.o] Error 1
> ../arch/arm/lib/clearbit.S: Assembler messages:
> ../arch/arm/lib/clearbit.S:15: Error: bad instruction `strbne r1,[ip]'
> make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/clearbit.o] Error 1
> ../arch/arm/lib/copy_from_user.S: Assembler messages:
> ../arch/arm/lib/copy_from_user.S:96: Error: bad instruction `subshs ip,ip,r2'
> ../arch/arm/lib/copy_template.S:168: Error: bad instruction `ldrbne r3,[r1],#1'
> ../arch/arm/lib/copy_template.S:169: Error: bad instruction `ldrbcs r4,[r1],#1'
> ../arch/arm/lib/copy_template.S:170: Error: bad instruction `ldrbcs ip,[r1],#1'
> ../arch/arm/lib/copy_template.S:179: Error: bad instruction `ldrbgt r3,[r1],#1'
> ../arch/arm/lib/copy_template.S:180: Error: bad instruction `ldrbge r4,[r1],#1'
> ../arch/arm/lib/copy_template.S:181: Error: bad instruction `ldrbal lr,[r1],#1'
> make[2]: *** [../scripts/Makefile.build:404:
> arch/arm/lib/copy_from_user.o] Error 1
> ../arch/arm/lib/copy_to_user.S: Assembler messages:
> ../arch/arm/lib/copy_to_user.S:100: Error: bad instruction `subshs ip,ip,r2'
> ../arch/arm/lib/copy_template.S:171: Error: bad instruction `strbne r3,[r0],#1'
> ../arch/arm/lib/copy_template.S:172: Error: bad instruction `strbcs r4,[r0],#1'
> ../arch/arm/lib/copy_template.S:173: Error: bad instruction `strbcs ip,[r0],#1'
> ../arch/arm/lib/copy_template.S:182: Error: bad instruction `strbgt r3,[r0],#1'
> ../arch/arm/lib/copy_template.S:183: Error: bad instruction `strbge r4,[r0],#1'
> ../arch/arm/lib/copy_template.S:185: Error: bad instruction `strbal lr,[r0],#1'
> make[2]: *** [../scripts/Makefile.build:404:
> arch/arm/lib/copy_to_user.o] Error 1
> ../arch/arm/lib/csumpartialcopygeneric.S: Assembler messages:
> ../arch/arm/lib/csumpartialcopygeneric.S:39: Error: bad instruction
> `ldrbal ip,[r0],#1'
> ../arch/arm/lib/csumpartialcopygeneric.S:46: Error: bad instruction
> `ldrbal r8,[r0],#1'
> ../arch/arm/lib/csumpartialcopygeneric.S:46: Error: bad instruction
> `ldrbal ip,[r0],#1'
> ../arch/arm/lib/csumpartialcopygeneric.S:66: Error: bad instruction
> `ldrbal ip,[r0],#1'
> ../arch/arm/lib/csumpartialcopygeneric.S:73: Error: bad instruction
> `ldrbal r8,[r0],#1'
> ../arch/arm/lib/csumpartialcopygeneric.S:73: Error: bad instruction
> `ldrbal ip,[r0],#1'
> ../arch/arm/lib/csumpartialcopygeneric.S:85: Error: bad instruction
> `ldrbal r8,[r0],#1'
> ../arch/arm/lib/csumpartialcopygeneric.S:277: Error: bad instruction
> `ldrbal r5,[r0],#1'
> make[2]: *** [../scripts/Makefile.build:404:
> arch/arm/lib/csumpartialcopyuser.o] Error 1
> ../arch/arm/lib/getuser.S: Assembler messages:
> ../arch/arm/lib/getuser.S:36: Error: bad instruction `sbcscc r2,r2,r1'
> ../arch/arm/lib/getuser.S:44: Error: bad instruction `sbcscc r2,r2,r1'
> ../arch/arm/lib/getuser.S:74: Error: bad instruction `sbcscc r2,r2,r1'
> ../arch/arm/lib/getuser.S:82: Error: bad instruction `sbcscc r2,r2,r1'
> make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/getuser.o] Error 1
> ../arch/arm/lib/putuser.S: Assembler messages:
> ../arch/arm/lib/putuser.S:36: Error: bad instruction `sbcscc ip,ip,r1'
> ../arch/arm/lib/putuser.S:43: Error: bad instruction `sbcscc ip,ip,r1'
> ../arch/arm/lib/putuser.S:65: Error: bad instruction `sbcscc ip,ip,r1'
> ../arch/arm/lib/putuser.S:72: Error: bad instruction `sbcscc ip,ip,r1'
> make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/putuser.o] Error 1
> ../arch/arm/lib/setbit.S: Assembler messages:
> ../arch/arm/lib/setbit.S:15: Error: bad instruction `strbne r1,[ip]'
> make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/setbit.o] Error 1
> ../arch/arm/lib/testchangebit.S: Assembler messages:
> ../arch/arm/lib/testchangebit.S:15: Error: bad instruction `strbne r1,[ip]'
> make[2]: *** [../scripts/Makefile.build:404:
> arch/arm/lib/testchangebit.o] Error 1
> ../arch/arm/lib/testclearbit.S: Assembler messages:
> ../arch/arm/lib/testclearbit.S:15: Error: bad instruction `strbne r1,[ip]'
> make[2]: *** [../scripts/Makefile.build:404:
> arch/arm/lib/testclearbit.o] Error 1
> ../arch/arm/lib/testsetbit.S: Assembler messages:
> ../arch/arm/lib/testsetbit.S:15: Error: bad instruction `strbne r1,[ip]'
> make[2]: *** [../scripts/Makefile.build:404: arch/arm/lib/testsetbit.o] Error 1
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [/linux/Makefile:1040: arch/arm/lib] Error 2
> make[1]: Target 'zImage' not remade because of errors.
> make: *** [Makefile:152: sub-make] Error 2
> make: Target 'zImage' not remade because of errors.

Caused by c001899a5d6c ("ARM: 8843/1: use unified assembler in headers")

Odd, I'll drop it from 4.9, but it's also in the 4.14 and 4.19 queues as
well, is it causing issues there too?

thanks,

greg k-h

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

* Re: stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
  2020-06-01 17:02 ` Greg Kroah-Hartman
@ 2020-06-01 17:07   ` Russell King - ARM Linux admin
  2020-06-01 17:21     ` Greg Kroah-Hartman
  2020-06-01 17:31     ` Naresh Kamboju
  0 siblings, 2 replies; 12+ messages in thread
From: Russell King - ARM Linux admin @ 2020-06-01 17:07 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Naresh Kamboju, Sasha Levin, linux- stable, lkft-triage

On Mon, Jun 01, 2020 at 07:02:48PM +0200, Greg Kroah-Hartman wrote:
> On Mon, Jun 01, 2020 at 09:18:34PM +0530, Naresh Kamboju wrote:
> > stable-rc 4.9 arm architecture build failed due to
> > following errors,
> > 
> > # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
> > CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> > arm-linux-gnueabihf-gcc" O=build zImage
> > #
> > ../arch/arm/vfp/vfphw.S: Assembler messages:
> > ../arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
> > ../arch/arm/vfp/vfphw.S:233: Error: bad instruction `stcleq p11,cr0,[r0],#32*4'
> > make[2]: *** [../scripts/Makefile.build:404: arch/arm/vfp/vfphw.o] Error 1
> > make[2]: Target '__build' not remade because of errors.
> > make[1]: *** [/linux/Makefile:1040: arch/arm/vfp] Error 2
> > ../arch/arm/lib/changebit.S: Assembler messages:
> > ../arch/arm/lib/changebit.S:15: Error: bad instruction `strbne r1,[ip]'

It looks like Naresh's toolchain doesn't like the new format
instructions.  Which toolchain (and versions of the individual
tools) are you (Naresh) using?

> Odd, I'll drop it from 4.9, but it's also in the 4.14 and 4.19 queues as
> well, is it causing issues there too?

What if it turns out that Naresh is using an ancient toolchain
that isn't supported by these kernels?  Does that still count as
a reason to drop the patch?

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC for 0.8m (est. 1762m) line in suburbia: sync at 13.1Mbps down 424kbps up

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

* Re: stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
  2020-06-01 17:07   ` Russell King - ARM Linux admin
@ 2020-06-01 17:21     ` Greg Kroah-Hartman
  2020-06-01 17:35       ` Greg Kroah-Hartman
  2020-06-01 17:31     ` Naresh Kamboju
  1 sibling, 1 reply; 12+ messages in thread
From: Greg Kroah-Hartman @ 2020-06-01 17:21 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: Naresh Kamboju, Sasha Levin, linux- stable, lkft-triage

On Mon, Jun 01, 2020 at 06:07:51PM +0100, Russell King - ARM Linux admin wrote:
> On Mon, Jun 01, 2020 at 07:02:48PM +0200, Greg Kroah-Hartman wrote:
> > On Mon, Jun 01, 2020 at 09:18:34PM +0530, Naresh Kamboju wrote:
> > > stable-rc 4.9 arm architecture build failed due to
> > > following errors,
> > > 
> > > # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
> > > CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> > > arm-linux-gnueabihf-gcc" O=build zImage
> > > #
> > > ../arch/arm/vfp/vfphw.S: Assembler messages:
> > > ../arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
> > > ../arch/arm/vfp/vfphw.S:233: Error: bad instruction `stcleq p11,cr0,[r0],#32*4'
> > > make[2]: *** [../scripts/Makefile.build:404: arch/arm/vfp/vfphw.o] Error 1
> > > make[2]: Target '__build' not remade because of errors.
> > > make[1]: *** [/linux/Makefile:1040: arch/arm/vfp] Error 2
> > > ../arch/arm/lib/changebit.S: Assembler messages:
> > > ../arch/arm/lib/changebit.S:15: Error: bad instruction `strbne r1,[ip]'
> 
> It looks like Naresh's toolchain doesn't like the new format
> instructions.  Which toolchain (and versions of the individual
> tools) are you (Naresh) using?
> 
> > Odd, I'll drop it from 4.9, but it's also in the 4.14 and 4.19 queues as
> > well, is it causing issues there too?
> 
> What if it turns out that Naresh is using an ancient toolchain
> that isn't supported by these kernels?  Does that still count as
> a reason to drop the patch?

Depends on if anyone actually wants to use the newer toolchain on the
really-old 4.9 release :)

thanks,

greg k-h

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

* Re: stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
  2020-06-01 17:07   ` Russell King - ARM Linux admin
  2020-06-01 17:21     ` Greg Kroah-Hartman
@ 2020-06-01 17:31     ` Naresh Kamboju
  2020-06-01 18:26       ` Sasha Levin
  2020-06-01 18:29       ` Russell King - ARM Linux admin
  1 sibling, 2 replies; 12+ messages in thread
From: Naresh Kamboju @ 2020-06-01 17:31 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: Greg Kroah-Hartman, Sasha Levin, linux- stable, lkft-triage

On Mon, 1 Jun 2020 at 22:37, Russell King - ARM Linux admin
<linux@armlinux.org.uk> wrote:
>
> On Mon, Jun 01, 2020 at 07:02:48PM +0200, Greg Kroah-Hartman wrote:
> > On Mon, Jun 01, 2020 at 09:18:34PM +0530, Naresh Kamboju wrote:
> > > stable-rc 4.9 arm architecture build failed due to
> > > following errors,
> > >
> > > # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
> > > CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> > > arm-linux-gnueabihf-gcc" O=build zImage
> > > #
> > > ../arch/arm/vfp/vfphw.S: Assembler messages:
> > > ../arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
> > > ../arch/arm/vfp/vfphw.S:233: Error: bad instruction `stcleq p11,cr0,[r0],#32*4'
> > > make[2]: *** [../scripts/Makefile.build:404: arch/arm/vfp/vfphw.o] Error 1
> > > make[2]: Target '__build' not remade because of errors.
> > > make[1]: *** [/linux/Makefile:1040: arch/arm/vfp] Error 2
> > > ../arch/arm/lib/changebit.S: Assembler messages:
> > > ../arch/arm/lib/changebit.S:15: Error: bad instruction `strbne r1,[ip]'
>
> It looks like Naresh's toolchain doesn't like the new format
> instructions.  Which toolchain (and versions of the individual
> tools) are you (Naresh) using?

  toolchain version is gcc-9

>
> > Odd, I'll drop it from 4.9, but it's also in the 4.14 and 4.19 queues as
> > well, is it causing issues there too?

An hour back builds pass for linux-4.14.y and linux-4.19.y branches.
A new set of builds triggered a minute back.
I will check build status and get back to you.

>
> What if it turns out that Naresh is using an ancient toolchain
> that isn't supported by these kernels?  Does that still count as
> a reason to drop the patch?
>

- Naresh

> --
> RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
> FTTC for 0.8m (est. 1762m) line in suburbia: sync at 13.1Mbps down 424kbps up

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

* Re: stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
  2020-06-01 17:21     ` Greg Kroah-Hartman
@ 2020-06-01 17:35       ` Greg Kroah-Hartman
  2020-06-01 17:38         ` Naresh Kamboju
  0 siblings, 1 reply; 12+ messages in thread
From: Greg Kroah-Hartman @ 2020-06-01 17:35 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: Naresh Kamboju, Sasha Levin, linux- stable, lkft-triage

On Mon, Jun 01, 2020 at 07:21:35PM +0200, Greg Kroah-Hartman wrote:
> On Mon, Jun 01, 2020 at 06:07:51PM +0100, Russell King - ARM Linux admin wrote:
> > On Mon, Jun 01, 2020 at 07:02:48PM +0200, Greg Kroah-Hartman wrote:
> > > On Mon, Jun 01, 2020 at 09:18:34PM +0530, Naresh Kamboju wrote:
> > > > stable-rc 4.9 arm architecture build failed due to
> > > > following errors,
> > > > 
> > > > # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
> > > > CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> > > > arm-linux-gnueabihf-gcc" O=build zImage
> > > > #
> > > > ../arch/arm/vfp/vfphw.S: Assembler messages:
> > > > ../arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
> > > > ../arch/arm/vfp/vfphw.S:233: Error: bad instruction `stcleq p11,cr0,[r0],#32*4'
> > > > make[2]: *** [../scripts/Makefile.build:404: arch/arm/vfp/vfphw.o] Error 1
> > > > make[2]: Target '__build' not remade because of errors.
> > > > make[1]: *** [/linux/Makefile:1040: arch/arm/vfp] Error 2
> > > > ../arch/arm/lib/changebit.S: Assembler messages:
> > > > ../arch/arm/lib/changebit.S:15: Error: bad instruction `strbne r1,[ip]'
> > 
> > It looks like Naresh's toolchain doesn't like the new format
> > instructions.  Which toolchain (and versions of the individual
> > tools) are you (Naresh) using?
> > 
> > > Odd, I'll drop it from 4.9, but it's also in the 4.14 and 4.19 queues as
> > > well, is it causing issues there too?
> > 
> > What if it turns out that Naresh is using an ancient toolchain
> > that isn't supported by these kernels?  Does that still count as
> > a reason to drop the patch?
> 
> Depends on if anyone actually wants to use the newer toolchain on the
> really-old 4.9 release :)

Ok, looks like other patches in the queue depended on this one, so I've
added it back, and we can figure out what Naresh's toolchain is here...

thanks,

greg k-h

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

* Re: stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
  2020-06-01 17:35       ` Greg Kroah-Hartman
@ 2020-06-01 17:38         ` Naresh Kamboju
  0 siblings, 0 replies; 12+ messages in thread
From: Naresh Kamboju @ 2020-06-01 17:38 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Russell King - ARM Linux admin, Sasha Levin, linux- stable, lkft-triage

On Mon, 1 Jun 2020 at 23:05, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> On Mon, Jun 01, 2020 at 07:21:35PM +0200, Greg Kroah-Hartman wrote:
> > On Mon, Jun 01, 2020 at 06:07:51PM +0100, Russell King - ARM Linux admin wrote:
> > > On Mon, Jun 01, 2020 at 07:02:48PM +0200, Greg Kroah-Hartman wrote:
> > > > On Mon, Jun 01, 2020 at 09:18:34PM +0530, Naresh Kamboju wrote:
> > > > > stable-rc 4.9 arm architecture build failed due to
> > > > > following errors,
> > > > >
> > > > > # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
> > > > > CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> > > > > arm-linux-gnueabihf-gcc" O=build zImage
> > > > > #
> > > > > ../arch/arm/vfp/vfphw.S: Assembler messages:
> > > > > ../arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
> > > > > ../arch/arm/vfp/vfphw.S:233: Error: bad instruction `stcleq p11,cr0,[r0],#32*4'
> > > > > make[2]: *** [../scripts/Makefile.build:404: arch/arm/vfp/vfphw.o] Error 1
> > > > > make[2]: Target '__build' not remade because of errors.
> > > > > make[1]: *** [/linux/Makefile:1040: arch/arm/vfp] Error 2
> > > > > ../arch/arm/lib/changebit.S: Assembler messages:
> > > > > ../arch/arm/lib/changebit.S:15: Error: bad instruction `strbne r1,[ip]'
> > >
> > > It looks like Naresh's toolchain doesn't like the new format
> > > instructions.  Which toolchain (and versions of the individual
> > > tools) are you (Naresh) using?
> > >
> > > > Odd, I'll drop it from 4.9, but it's also in the 4.14 and 4.19 queues as
> > > > well, is it causing issues there too?
> > >
> > > What if it turns out that Naresh is using an ancient toolchain
> > > that isn't supported by these kernels?  Does that still count as
> > > a reason to drop the patch?
> >
> > Depends on if anyone actually wants to use the newer toolchain on the
> > really-old 4.9 release :)
>
> Ok, looks like other patches in the queue depended on this one, so I've
> added it back, and we can figure out what Naresh's toolchain is here...

gcc version 9.3.0

>
> thanks,
>
> greg k-h

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

* Re: stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
  2020-06-01 17:31     ` Naresh Kamboju
@ 2020-06-01 18:26       ` Sasha Levin
  2020-06-01 18:33         ` Naresh Kamboju
  2020-06-01 18:29       ` Russell King - ARM Linux admin
  1 sibling, 1 reply; 12+ messages in thread
From: Sasha Levin @ 2020-06-01 18:26 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Russell King - ARM Linux admin, Greg Kroah-Hartman,
	linux- stable, lkft-triage

On Mon, Jun 01, 2020 at 11:01:19PM +0530, Naresh Kamboju wrote:
>On Mon, 1 Jun 2020 at 22:37, Russell King - ARM Linux admin
><linux@armlinux.org.uk> wrote:
>>
>> On Mon, Jun 01, 2020 at 07:02:48PM +0200, Greg Kroah-Hartman wrote:
>> > On Mon, Jun 01, 2020 at 09:18:34PM +0530, Naresh Kamboju wrote:
>> > > stable-rc 4.9 arm architecture build failed due to
>> > > following errors,
>> > >
>> > > # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
>> > > CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
>> > > arm-linux-gnueabihf-gcc" O=build zImage
>> > > #
>> > > ../arch/arm/vfp/vfphw.S: Assembler messages:
>> > > ../arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
>> > > ../arch/arm/vfp/vfphw.S:233: Error: bad instruction `stcleq p11,cr0,[r0],#32*4'
>> > > make[2]: *** [../scripts/Makefile.build:404: arch/arm/vfp/vfphw.o] Error 1
>> > > make[2]: Target '__build' not remade because of errors.
>> > > make[1]: *** [/linux/Makefile:1040: arch/arm/vfp] Error 2
>> > > ../arch/arm/lib/changebit.S: Assembler messages:
>> > > ../arch/arm/lib/changebit.S:15: Error: bad instruction `strbne r1,[ip]'
>>
>> It looks like Naresh's toolchain doesn't like the new format
>> instructions.  Which toolchain (and versions of the individual
>> tools) are you (Naresh) using?
>
>  toolchain version is gcc-9

Do you see the same issue with upstream? I'd expect it to fail the sam
way because of this patch.

-- 
Thanks,
Sasha

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

* Re: stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
  2020-06-01 17:31     ` Naresh Kamboju
  2020-06-01 18:26       ` Sasha Levin
@ 2020-06-01 18:29       ` Russell King - ARM Linux admin
  2020-06-01 19:45         ` Naresh Kamboju
  1 sibling, 1 reply; 12+ messages in thread
From: Russell King - ARM Linux admin @ 2020-06-01 18:29 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Greg Kroah-Hartman, Sasha Levin, linux- stable, lkft-triage

On Mon, Jun 01, 2020 at 11:01:19PM +0530, Naresh Kamboju wrote:
> On Mon, 1 Jun 2020 at 22:37, Russell King - ARM Linux admin
> <linux@armlinux.org.uk> wrote:
> > It looks like Naresh's toolchain doesn't like the new format
> > instructions.  Which toolchain (and versions of the individual
> > tools) are you (Naresh) using?
> 
>   toolchain version is gcc-9

gcc 9 is just one part of the toolchain - that's the compiler, and
actually irrelevent for the errors being reported.

It's binutils, specifically the assembler that is choking, so that's
the version we really need.  Something like:

  arm-linux-gnueabihf-as --version

should get it for you.

Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC for 0.8m (est. 1762m) line in suburbia: sync at 13.1Mbps down 424kbps up

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

* Re: stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
  2020-06-01 18:26       ` Sasha Levin
@ 2020-06-01 18:33         ` Naresh Kamboju
  0 siblings, 0 replies; 12+ messages in thread
From: Naresh Kamboju @ 2020-06-01 18:33 UTC (permalink / raw)
  To: Sasha Levin
  Cc: Russell King - ARM Linux admin, Greg Kroah-Hartman,
	linux- stable, lkft-triage

On Mon, 1 Jun 2020 at 23:56, Sasha Levin <sashal@kernel.org> wrote:
>
> On Mon, Jun 01, 2020 at 11:01:19PM +0530, Naresh Kamboju wrote:
> >On Mon, 1 Jun 2020 at 22:37, Russell King - ARM Linux admin
> ><linux@armlinux.org.uk> wrote:
> >>
> >> On Mon, Jun 01, 2020 at 07:02:48PM +0200, Greg Kroah-Hartman wrote:
> >> > On Mon, Jun 01, 2020 at 09:18:34PM +0530, Naresh Kamboju wrote:
> >> > > stable-rc 4.9 arm architecture build failed due to
> >> > > following errors,
> >> > >
> >> > > # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
> >> > > CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> >> > > arm-linux-gnueabihf-gcc" O=build zImage
> >> > > #
> >> > > ../arch/arm/vfp/vfphw.S: Assembler messages:
> >> > > ../arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
> >> > > ../arch/arm/vfp/vfphw.S:233: Error: bad instruction `stcleq p11,cr0,[r0],#32*4'
> >> > > make[2]: *** [../scripts/Makefile.build:404: arch/arm/vfp/vfphw.o] Error 1
> >> > > make[2]: Target '__build' not remade because of errors.
> >> > > make[1]: *** [/linux/Makefile:1040: arch/arm/vfp] Error 2
> >> > > ../arch/arm/lib/changebit.S: Assembler messages:
> >> > > ../arch/arm/lib/changebit.S:15: Error: bad instruction `strbne r1,[ip]'
> >>
> >> It looks like Naresh's toolchain doesn't like the new format
> >> instructions.  Which toolchain (and versions of the individual
> >> tools) are you (Naresh) using?
> >
> >  toolchain version is gcc-9
>
> Do you see the same issue with upstream? I'd expect it to fail the sam
> way because of this patch.

This failure is only on stable-rc 4.9 branch arm architecture.
All other stable-rc branches and linux mainline builds successfully.

ref:
https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/576020084

- Naresh

>
> --
> Thanks,
> Sasha

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

* Re: stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
  2020-06-01 18:29       ` Russell King - ARM Linux admin
@ 2020-06-01 19:45         ` Naresh Kamboju
  2020-06-01 20:37           ` Russell King - ARM Linux admin
  0 siblings, 1 reply; 12+ messages in thread
From: Naresh Kamboju @ 2020-06-01 19:45 UTC (permalink / raw)
  To: Russell King - ARM Linux admin
  Cc: Greg Kroah-Hartman, Sasha Levin, linux- stable, lkft-triage

On Mon, 1 Jun 2020 at 23:59, Russell King - ARM Linux admin
<linux@armlinux.org.uk> wrote:
>
> On Mon, Jun 01, 2020 at 11:01:19PM +0530, Naresh Kamboju wrote:
> > On Mon, 1 Jun 2020 at 22:37, Russell King - ARM Linux admin
> > <linux@armlinux.org.uk> wrote:
> > > It looks like Naresh's toolchain doesn't like the new format
> > > instructions.  Which toolchain (and versions of the individual
> > > tools) are you (Naresh) using?
> >
> >   toolchain version is gcc-9
>
> gcc 9 is just one part of the toolchain - that's the compiler, and
> actually irrelevent for the errors being reported.
>
> It's binutils, specifically the assembler that is choking, so that's
> the version we really need.  Something like:
>
>   arm-linux-gnueabihf-as --version

GNU assembler (GNU Binutils for Debian) 2.34

- Naresh

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

* Re: stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4'
  2020-06-01 19:45         ` Naresh Kamboju
@ 2020-06-01 20:37           ` Russell King - ARM Linux admin
  0 siblings, 0 replies; 12+ messages in thread
From: Russell King - ARM Linux admin @ 2020-06-01 20:37 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Greg Kroah-Hartman, Sasha Levin, linux- stable, lkft-triage

On Tue, Jun 02, 2020 at 01:15:26AM +0530, Naresh Kamboju wrote:
> On Mon, 1 Jun 2020 at 23:59, Russell King - ARM Linux admin
> <linux@armlinux.org.uk> wrote:
> >
> > On Mon, Jun 01, 2020 at 11:01:19PM +0530, Naresh Kamboju wrote:
> > > On Mon, 1 Jun 2020 at 22:37, Russell King - ARM Linux admin
> > > <linux@armlinux.org.uk> wrote:
> > > > It looks like Naresh's toolchain doesn't like the new format
> > > > instructions.  Which toolchain (and versions of the individual
> > > > tools) are you (Naresh) using?
> > >
> > >   toolchain version is gcc-9
> >
> > gcc 9 is just one part of the toolchain - that's the compiler, and
> > actually irrelevent for the errors being reported.
> >
> > It's binutils, specifically the assembler that is choking, so that's
> > the version we really need.  Something like:
> >
> >   arm-linux-gnueabihf-as --version
> 
> GNU assembler (GNU Binutils for Debian) 2.34

That should be recent enough, I guess it must be down to the missing
patches gregkh identified.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC for 0.8m (est. 1762m) line in suburbia: sync at 13.1Mbps down 424kbps up

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

end of thread, other threads:[~2020-06-01 20:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 15:48 stable-rc 4.9: arm: arch/arm/vfp/vfphw.S:158: Error: bad instruction `ldcleq p11,cr0,[r10],#32*4' Naresh Kamboju
2020-06-01 17:02 ` Greg Kroah-Hartman
2020-06-01 17:07   ` Russell King - ARM Linux admin
2020-06-01 17:21     ` Greg Kroah-Hartman
2020-06-01 17:35       ` Greg Kroah-Hartman
2020-06-01 17:38         ` Naresh Kamboju
2020-06-01 17:31     ` Naresh Kamboju
2020-06-01 18:26       ` Sasha Levin
2020-06-01 18:33         ` Naresh Kamboju
2020-06-01 18:29       ` Russell King - ARM Linux admin
2020-06-01 19:45         ` Naresh Kamboju
2020-06-01 20:37           ` Russell King - ARM Linux admin

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