Re: [PATCH 01/11] linux/kbuild.h: sync with upstream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Sascha,

On 8/26/19 12:35 PM, Sascha Hauer wrote:
> On Thu, Aug 22, 2019 at 07:51:04AM +0200, Ahmad Fatoum wrote:
>> Clang doesn't like literal ASCII in the listing.
>> Copy over the Linux v5.2 state of the file to fix this.
>>
>> Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx>
>> ---
>>  include/linux/kbuild.h | 7 ++++---
>>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> This patch breaks building arm64 and mips defconfigs. For example
> bcm47xx_defconfig with:
> 
> arch/mips/lib/genex.S: Assembler messages:
> arch/mips/lib/genex.S:14: Error: operand 2 must be constant `subu $27,PT_SIZE'
> arch/mips/lib/genex.S:14: Error: macro used $at after ".set noat"
> arch/mips/lib/genex.S:14: Error: macro used $at after ".set noat"
> arch/mips/lib/genex.S:14: Error: macro used $at after ".set noat"
> arch/mips/lib/genex.S:14: Error: macro used $at after ".set noat"
> arch/mips/lib/genex.S:14: Error: macro used $at after ".set noat"
> ...
> 
> zynqmp_defconfig with:
> 
> arch/arm/cpu/smccc-call_64.S: Assembler messages:
> arch/arm/cpu/smccc-call_64.S:41: Error: undefined symbol ARM_SMCCC_RES_X0_OFFS used as an immediate value
> arch/arm/cpu/smccc-call_64.S:41: Error: undefined symbol ARM_SMCCC_RES_X2_OFFS used as an immediate value
> arch/arm/cpu/smccc-call_64.S:41: Error: undefined symbol ARM_SMCCC_QUIRK_ID_OFFS used as an immediate value
> arch/arm/cpu/smccc-call_64.S:41: Error: undefined symbol ARM_SMCCC_QUIRK_STATE_OFFS used as an immediate value
> arch/arm/cpu/smccc-call_64.S:51: Error: undefined symbol ARM_SMCCC_RES_X0_OFFS used as an immediate value
> arch/arm/cpu/smccc-call_64.S:51: Error: undefined symbol ARM_SMCCC_RES_X2_OFFS used as an immediate value
> arch/arm/cpu/smccc-call_64.S:51: Error: undefined symbol ARM_SMCCC_QUIRK_ID_OFFS used as an immediate value
> arch/arm/cpu/smccc-call_64.S:51: Error: undefined symbol ARM_SMCCC_QUIRK_STATE_OFFS used as an immediate value

Hmm, I wonder what upstream is doing differently..
When I retry to build barebox with clang, I will look more
into this.

Cheers
Ahmad 

> 
> Sascha
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux