From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6B2BC433DB for ; Tue, 2 Feb 2021 19:53:08 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 532A864EAC for ; Tue, 2 Feb 2021 19:53:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 532A864EAC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kpIiQzVxK4HBc4PWsZhZ0sA1J5P3p0y1i1gT6HpWQ44=; b=URk+LFhNIeuqDeXoOZ+Ta2Pgc 0/zHefpR+f+wSgGvueznZDLLi9z9TPoDi5rzZk7H8FdtI87+u0GLCgPoSXU3lYX3SJMdM9ZdnBul+ G3PXeAehNub5VvVbE1utzEBIA3pSqUFG0upOKQcTqgD+HsBmhUI/RhCLgsZW+XYsrqjjzZjLyKreM CytqMTyklI/uFuIPD5RTQHfolZWPC1yrP8geGtUJSDVHkD2hgKnvy+ZRhs9ldC7Rh2ojdeU/0qcRX a/b2C6V3CNmbQtp3pomy1e2FJV1niAQJxPKIk+vrMRIKReRepkDqzlr/BUwCQRiNiDUuJYetbQu3q D4Ch85h3Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l71i7-0005ZL-74; Tue, 02 Feb 2021 19:51:39 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l71i5-0005Z1-BH for linux-arm-kernel@lists.infradead.org; Tue, 02 Feb 2021 19:51:38 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id C0DD264DC4; Tue, 2 Feb 2021 19:51:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612295496; bh=kFRho8LthVAJM6ke+5o7WVG/qGQoHqd05ziE2IHu2R4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XvUU5HXVRDbcdBkyH7xGWnYT1gEebYzQUMrnNZ6noFkANZZ3lClzZ605TXBsK6lba k3LWv0NZAkjoviMxfpd7VeZHylmBHbB5QdAjarbAnpoQChV8yAIRllT39siPgb5lcA g+WYeA/9Zs7JraHW3WbWVN7JikcJgfYkpn1ZOrhOFG2cyaf8t1uPRk8qkmIAJVcF0I V0kvrpeZcmAV8k3p8T5rQLjvIrdblB2ResTZ4aYnITKSls1g5JhRm5wCC2xIv3I6Bo Ls49/svh39FXlSh4Rt3GJTCsYE1iq5xgcuKI0jbJJQGRz7yZOosC8lRIuM3AKcKZXR TTRX8n9P/4vcA== Date: Tue, 2 Feb 2021 12:51:33 -0700 From: Nathan Chancellor To: Arnd Bergmann Subject: Re: [PATCH] arm64: Make CPU_BIG_ENDIAN depend on !LD_IS_LLD Message-ID: <20210202195133.GA1481999@localhost> References: <20210202022441.1451389-1-nathan@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210202_145137_495566_D7AB21E3 X-CRM114-Status: GOOD ( 15.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Catalin Marinas , Nick Desaulniers , "linux-kernel@vger.kernel.org" , clang-built-linux , Will Deacon , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Feb 02, 2021 at 09:04:34AM +0100, Arnd Bergmann wrote: > On Tue, Feb 2, 2021 at 3:25 AM Nathan Chancellor wrote: > > > > Similar to commit 28187dc8ebd9 ("ARM: 9025/1: Kconfig: CPU_BIG_ENDIAN > > depends on !LD_IS_LLD"), ld.lld does not support aarch64 big endian, > > leading to the following build error when CONFIG_CPU_BIG_ENDIAN is > > selected: > > > > ld.lld: error: unknown emulation: aarch64linuxb > > While this is the original error message I reported, I think it would be > better to explain that lld actually does support linking big-endian > kernels but they don't boot, for unknown reasons. That statement seems to contradict what Peter Smith says: https://github.com/ClangBuiltLinux/linux/issues/1288#issuecomment-770693582 https://reviews.llvm.org/D58655#1410282 > I can send a patch to address the build error and mark big-endian > as "depends on !LD_IS_LLD || COMPILE_TEST" to reflect that > and help with randconfig testing. I have no strong opinion on handling this though. Cheers, Nathan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel