Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1060294imm; Mon, 9 Jul 2018 16:25:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcE9knCLLJTRi/QhZO1Qb6LenG/qtXK8fSu30kMhnRt8al3AjfbJv4DqzZ/+xvgBqKobLC4 X-Received: by 2002:a17:902:780e:: with SMTP id p14-v6mr17622203pll.239.1531178745556; Mon, 09 Jul 2018 16:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531178745; cv=none; d=google.com; s=arc-20160816; b=K7D8C0B2VxNZyDBMtYkP5k7H/Dh5yE3w4cBI8tviKXmjtYJJX6BQCncmA9+JY0paIh iuRJiPsASJibPOwh/zuuJ1X96cRlSZj6v89hdTRUNIW5g5qZLfCB2opjrWnX8RI8U0ff D9G7PVFQLkm5Wk/O/l3lXTDwDoWzurS6Bd4J0GUYH2j89vo+5c/GZzYH4G4LaW2twr9U k4KrfuqqgMrjsKOBEPiNpdm7BQcp1alayO8v3LXpjvy92a9yBdmMO4bBJ1MjIMmnAprN Z8v6O5PR35EPU9rhlN+KFCIHfFZ9NREE1fWcqEw2SZyJWeVwugdW0QTd6mQci1x/JzFY HcHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=9+yx5hOi2AhOrRpdA6UC/SOPS5EfiO9n1/h3Cj14YXc=; b=ORNt0mqkEFQca6f87e5cATTJ85jNUK4MgXx1O4Ou/GAz8k51TSvriADfhWKscCdvDR JdKzDwGS4eo2VlvCtz7qPIhsHVtW1JHEcw50psl6TKI+uc3HZpL5OPIkmHnBZ3vXU3Zm rMpKegjAsQ2PWabEufqBQ9by/bOpubUXpOZHMuXFh7TkNdcTQN4zcpLfVZ1q74Q5Ds8v fvqn7IEtnF8xiaUU/hWoAMrhjNI4a1QQPqAcal0B9CBVdLUeh0BSUPO1mUgwCydoo1hZ 3+xHlHSnamfFCEqjONtzus7xkUVpsBJo9n7rK5i8eLFLZozTph5Hyv/gyuFpT7pOvP96 1Qog== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1-v6si15382717pld.515.2018.07.09.16.25.30; Mon, 09 Jul 2018 16:25:45 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754581AbeGIXYs (ORCPT + 99 others); Mon, 9 Jul 2018 19:24:48 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:34494 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754502AbeGIXYq (ORCPT ); Mon, 9 Jul 2018 19:24:46 -0400 Received: by mail-qk0-f196.google.com with SMTP id b66-v6so10644079qkj.1 for ; Mon, 09 Jul 2018 16:24:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9+yx5hOi2AhOrRpdA6UC/SOPS5EfiO9n1/h3Cj14YXc=; b=eklahAv+yWKxrK/tPdgWj4vByqRrI2C33oEVKMfQS4PpddS0QOnF3ZgTmNSbuIXhD1 TgPVgTbACbfsprNMuen94JIVuk0rS1UB2d51Y4LCKlrfItjV4/nJsaBMJpGEbY94my0o 7kda7lUvLlwOeX6Lbmj+GnOnjwqGVndgoA89aHB4qNZZn5nLxLJsyf8p3j9E66HKkGn7 ZMMHtS1nwpGvgxd+HxphbI1HoI7d5y49uj9MAt3wHhqvzlgHz2hxoxRz1jugV6wC5q71 MFh+RAVBuSGKL4cfRgqAI45L0FhiYw+gzMuV0ImGe/OkkR+HIVzTM+84xSfqYOZjUlsp 89Kw== X-Gm-Message-State: APt69E3Db/IqQY+Mk05PZhcYFAmA9LLjLr80Mj1ZjVmnIwNtWDr9FtVd IfIJMZTfD4PuWR9IVTk3+qNlKsLppck= X-Received: by 2002:a37:849:: with SMTP id 70-v6mr19677882qki.200.1531178685737; Mon, 09 Jul 2018 16:24:45 -0700 (PDT) Received: from ?IPv6:2601:602:9802:a8dc::1941? ([2601:602:9802:a8dc::1941]) by smtp.gmail.com with ESMTPSA id 3-v6sm12599037qts.31.2018.07.09.16.24.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 16:24:44 -0700 (PDT) Subject: Re: [PATCH] Revert "arm64: Use aarch64elf and aarch64elfb emulation mode variants" To: Will Deacon , Paul Kocialkowski , Catalin Marinas Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20180709200956.31158-1-labbott@redhat.com> From: Laura Abbott Message-ID: Date: Mon, 9 Jul 2018 16:24:42 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180709200956.31158-1-labbott@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/09/2018 01:09 PM, 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. The answer appears to be that Fedora binutils does not package the assembly scripts. The logic behind this is not immediately obvious but it's been removed since 2004. Obviously this is a packaging issue on Fedora's side but I'd still like to revert since it is a build breakage and fixing this might require some coordination. I'll send a v2 with clarified commit text if there's agreement. Thanks, Laura > --- > 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 > >