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