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=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 665FBC32751 for ; Wed, 7 Aug 2019 14:14:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 39B6121E6C for ; Wed, 7 Aug 2019 14:14:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JuyaeGkj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39B6121E6C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.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=5zs6SYN3z5CFF5sMwT18XX7ALqnvVkICJS9snFdao6o=; b=JuyaeGkjR7tfZu ulOlOi4W9QtQSaCp5rmOQ/Vc6MqOzi+GGg+oBSCSYVPGi9tv45fff5Sdq4P7kjDrHpvpBzsGvCoaS ionUvFNAyJj3x6YQggl8WIDMfpI/6GrjyBA49bQ7e0T0/bh8SGlBI3vnYNeW3o7a2d8S+albHXeR3 E6zVoUERJOhPd0xLEZAbBGc2UUV2+2FNqHSwUSXI6KDjhslTERZq3+LTQk9SxjSvy3/T55sZ6GIHU 0t3UX4rwb1cGBtudnWqyKdXd/eRcpkLHCF8F3auJwkHs7L+Tdy88s2WmksEfRLq+pxZXUSjGTQi4g DVTs3GzwfPWxxP32YB1A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hvMi5-0007M0-4f; Wed, 07 Aug 2019 14:14:37 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hvMi1-0007Lc-Uz for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2019 14:14:35 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0FBEF344; Wed, 7 Aug 2019 07:14:33 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E1A763F706; Wed, 7 Aug 2019 07:14:31 -0700 (PDT) Date: Wed, 7 Aug 2019 15:14:29 +0100 From: Mark Rutland To: Mark Brown Subject: Re: [PATCH] arm64: Disable big endian builds with clang Message-ID: <20190807141429.GG54191@lakrids.cambridge.arm.com> References: <20190806183918.41078-1-broonie@kernel.org> <20190807130111.GE54191@lakrids.cambridge.arm.com> <20190807130527.GD4048@sirena.co.uk> <20190807135618.GF54191@lakrids.cambridge.arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190807135618.GF54191@lakrids.cambridge.arm.com> User-Agent: Mutt/1.11.1+11 (2f07cb52) (2018-12-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190807_071434_043980_D88C151D X-CRM114-Status: GOOD ( 17.75 ) 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: Tri Vo , Catalin Marinas , Nick Desaulniers , clang-built-linux@googlegroups.com, Nathan Chancellor , Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Aug 07, 2019 at 02:56:19PM +0100, Mark Rutland wrote: > On Wed, Aug 07, 2019 at 02:05:27PM +0100, Mark Brown wrote: > > On Wed, Aug 07, 2019 at 02:01:11PM +0100, Mark Rutland wrote: > > > On Tue, Aug 06, 2019 at 07:39:18PM +0100, Mark Brown wrote: > > > > > Judging by the kernel log linked in a reply, this is with: > > > > > * clang version 8.0.1-svn359952-1~exp1~20190504004501.65 (branches/release_80) > > > > > Is that the llvm.org binary release, or a custom build of clang? > > > > It's from a llvm.org .deb. > > > > > * Linux 5.3.0-rc2-next-20190730 > > > > > Could we previously build a BE kernel with clang? If so, what's the > > > last working kernel? > > > > As far as I know this has been broken for as long as we tried building > > and booting big endian kernels in clang. The compile works fine, it's > > just that the resulting binary doesn't seem to be working so well. > > I've just had a go, and it works for me. Log below from a BE busybox, > but I also have a BE buildroot filesystem working. > > For reference, I'm using: > > * Linux v5.3-rc3 defconfig > * LLVM 8.0.0 (x86_64) from llvm.org > * GCC 8.1.0 (x86_64) from kernel.org crosstool > > ... so I don't think we should blacklist this just yet, but we certainly > need to better understand the issue you're seeing. I'll have a go with > LLVM 8.0.1 in case there's a regression from 8.0.0 to 8.0.1. FWIW, using LLVM 8.0.1 also works for me, everything else being unchanged. Thanks, Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel