From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i7GQY-00038T-BZ for barebox@lists.infradead.org; Mon, 09 Sep 2019 09:57:44 +0000 References: <20190822055114.931-1-ahmad@a3f.at> <20190822055114.931-2-ahmad@a3f.at> <20190826103502.cfmgqeoyamdkqmxt@pengutronix.de> From: Ahmad Fatoum Message-ID: <76bb1575-42b1-d797-1252-90bcb76a340f@pengutronix.de> Date: Mon, 9 Sep 2019 11:57:39 +0200 MIME-Version: 1.0 In-Reply-To: <20190826103502.cfmgqeoyamdkqmxt@pengutronix.de> Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 01/11] linux/kbuild.h: sync with upstream To: Sascha Hauer , Ahmad Fatoum Cc: barebox@lists.infradead.org, afa@pengutronix.de 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 >> --- >> 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox