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.
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
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?
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
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
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
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
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.
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
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.
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
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.
linux-stable-mirror@lists.linaro.org