On Thu, Sep 29, 2022 at 02:37:54PM +0100, Jon Hunter wrote: > > On 29/09/2022 12:09, Mark Rutland wrote: > > ... > > > > Yes that fixes it. > > > > > > Tested-by: Jon Hunter <jonathanh@xxxxxxxxxx> > > > > Great! > > > > Could you please let me know which version of binutils, so that we can add > > something regarding that in a comment and in the commit message? > > > > The output of ${CROSS_COMPILE}as --version would suffice. > > > > With that, I can clean this up and send as a proper patch. > > > Yes it is ... > > GNU ld (Linaro_Binutils-2017.08) 2.27.0.20161019 Thanks for that! FWIW< I can reproduce that with the Linaro 17.05 toolchain release: | [mark@lakrids:~/src/linux]% uselinaro 17.05 aarch64-linux-gnu-as --version | GNU assembler (Linaro_Binutils-2017.05) 2.27.0.20161019 | Copyright (C) 2016 Free Software Foundation, Inc. | This program is free software; you may redistribute it under the terms of | the GNU General Public License version 3 or later. | This program has absolutely no warranty. | This assembler was configured for a target of `aarch64-linux-gnu'. | [mark@lakrids:~/src/linux]% uselinaro 17.05 make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -s defconfig | [mark@lakrids:~/src/linux]% uselinaro 17.05 make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -s Image | /tmp/ccAy74PK.s: Assembler messages: | /tmp/ccAy74PK.s:2528: Error: found 'L', expected: ')' | /tmp/ccAy74PK.s:2528: Error: found 'L', expected: ')' | /tmp/ccAy74PK.s:2528: Error: found 'L', expected: ')' | /tmp/ccAy74PK.s:2528: Error: found 'L', expected: ')' | /tmp/ccAy74PK.s:2528: Error: junk at end of line, first unrecognized character is `L' | /tmp/ccAy74PK.s:3562: Error: found 'L', expected: ')' | /tmp/ccAy74PK.s:3562: Error: found 'L', expected: ')' | /tmp/ccAy74PK.s:3562: Error: found 'L', expected: ')' | /tmp/ccAy74PK.s:3562: Error: found 'L', expected: ')' | /tmp/ccAy74PK.s:3562: Error: junk at end of line, first unrecognized character is `L' | make[1]: *** [scripts/Makefile.build:249: init/main.o] Error 1 | make: *** [Makefile:1853: init] Error 2 ... but curiously the 17.08 release seems to have a new, working version of binutils: | [mark@lakrids:~/src/linux]% uselinaro 17.08 aarch64-linux-gnu-as --version | GNU assembler (Linaro_Binutils-2017.08) 2.28.2.20170706 | Copyright (C) 2017 Free Software Foundation, Inc. | This program is free software; you may redistribute it under the terms of | the GNU General Public License version 3 or later. | This program has absolutely no warranty. | This assembler was configured for a target of `aarch64-linux-gnu'. | [mark@lakrids:~/src/linux]% uselinaro 17.08 make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -s defconfig | [mark@lakrids:~/src/linux]% uselinaro 17.08 make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j50 -s Image | [mark@lakrids:~/src/linux]% echo $? | 0 ... so I'm not sure why your copy has an older binutils. Regardless, I'll go prep that patch with a real commit message, and add your Tested-by. Thanks, Mark.