Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1457282imm; Tue, 10 Jul 2018 02:02:58 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeX1zBnyz21BcqGPUb0Ou/MPEpxRxhgxFyZVdxcXVU+TqDJTep2tVNJSvyO4iWGu2Y1t6Bt X-Received: by 2002:a63:6a45:: with SMTP id f66-v6mr21335224pgc.81.1531213378902; Tue, 10 Jul 2018 02:02:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531213378; cv=none; d=google.com; s=arc-20160816; b=iW3RLkEtZuzDGbe4kvPkMbxs7VYPoVlsfuN7WD3s88gxTVtFfJa8Wtu1w6MXyGkvBF 2eFlhLt2evAEwCH1xkQnbrLymetJQjPPi+pD0UqDbyfhh8bgatF2lL0tDQ/7RXt6NLeC MHDv182qEhrmCOKEADnXsIyvzsHp0zqIDmB37eFXjWw9UWrs+DEsm2DbsqcBhLdo4SIp I/Ym5tmcJAWBWG6FH4xUV6NJLoJV5cinfcjIDkqaM/6ZezfOyPw9hWb3dAwQY5vGZRnD vx+INxZkQ2XtcHnGa+ZslzUHwmCg32GAETLpPjnJy3NO6VjBa38vhfVtmx8AcyNSacsb CMpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Eng9J5akWKakn7aLpD2VAP11Yrje6k5MoZQzdnQkLVc=; b=sRV2hDwHU4l8/iZquDyPZylCN7VvRQJl5M+C7KeSHkUZXtarSPmyT5Mi/yni7MdTt3 vjaahcNUy7JBP6gyF+UxPoI9XofsF1mTqV+XD6Idh8+r3zslfHJv+/8QU+1r6znZYajU gd3N/ZF9sXnlatuGPWU0wwoDdiqws0OiOysnFetvDG30uREeFdCpMUAmmWA8DqemRu9b 3pInNdqur8ufzfldnQOGcpgzzg3hg1c70VUznUgwr6xaLAfiV8i3KhnCOOzc5Uxti/T2 N5LXH+812EOAU0V/hyj+clDoqXPDO1C0FmO+yyBdsE0j5PZBxccW/cRabTjW1cbnajAb pn/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23-v6si17263814pfl.122.2018.07.10.02.02.43; Tue, 10 Jul 2018 02:02:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933190AbeGJJAq (ORCPT + 99 others); Tue, 10 Jul 2018 05:00:46 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:43162 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751263AbeGJJAo (ORCPT ); Tue, 10 Jul 2018 05:00:44 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A364680D; Tue, 10 Jul 2018 02:00:44 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 743403F318; Tue, 10 Jul 2018 02:00:44 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 2A01E1AE4FBF; Tue, 10 Jul 2018 10:01:26 +0100 (BST) Date: Tue, 10 Jul 2018 10:01:26 +0100 From: Will Deacon To: Laura Abbott Cc: Paul Kocialkowski , Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Revert "arm64: Use aarch64elf and aarch64elfb emulation mode variants" Message-ID: <20180710090125.GA28924@arm.com> References: <20180709200956.31158-1-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180709200956.31158-1-labbott@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks, Laura. I'll take this as a fix, and add a comment to the Makefile to justify why we need the linux target. Will On Mon, Jul 09, 2018 at 01:09:56PM -0700, Laura Abbott wrote: > This reverts commit 38fc4248677552ce35efc09902fdcb06b61d7ef9. > > This breaks compilation with Fedora gcc-8 tool chains: > > CHK include/generated/compile.h > LD [M] arch/arm64/crypto/sha512-ce.o > aarch64-linux-gnu-ld: cannot open linker script file ldscripts/aarch64elf.xr: No such file or directory > make[1]: *** [scripts/Makefile.build:530: arch/arm64/crypto/sha512-ce.o] Error 1 > make: *** [Makefile:1029: arch/arm64/crypto] Error 2 > > Fixes: 38fc42486775 ("arm64: Use aarch64elf and aarch64elfb emulation mode variants") > Signed-off-by: Laura Abbott > --- > A bit rushed and I'm still debugging but I wanted to send this out > before anyone else gets hit since it is -rc4. Seeing this on both native > and cross compiles. > --- > arch/arm64/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile > index 7976d2d242fa..f476d52ad8d6 100644 > --- a/arch/arm64/Makefile > +++ b/arch/arm64/Makefile > @@ -60,13 +60,13 @@ ifeq ($(CONFIG_CPU_BIG_ENDIAN), y) > KBUILD_CPPFLAGS += -mbig-endian > CHECKFLAGS += -D__AARCH64EB__ > AS += -EB > -LDFLAGS += -EB -maarch64elfb > +LDFLAGS += -EB -maarch64linuxb > UTS_MACHINE := aarch64_be > else > KBUILD_CPPFLAGS += -mlittle-endian > CHECKFLAGS += -D__AARCH64EL__ > AS += -EL > -LDFLAGS += -EL -maarch64elf > +LDFLAGS += -EL -maarch64linux > UTS_MACHINE := aarch64 > endif > > -- > 2.17.1 >