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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id D58BFC05027 for ; Sun, 29 Jan 2023 14:52:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=EEJVz7F9zBL17pdAujT3HXGzp4uDrQRheWU/XUf9BGE=; b=16ScfuH4tvHlM1 6abWk62t50oxcWJuaWVMgZEPN+8FEtFmVBJm1My0BtffGwVmP5gxqLLhWzZC+mjjzIecZvj1E2tfO IYaHvFsNK3wF+oFg6JoEDJtFRR6j0CoFBpVPmqDE9gGGtyYbZ47WdI3iMMfhi1XNwHRRl+Q2l6EnW ZRZXcQOYgtKRwmC/qLQljjhIr8gsYBNR4VIU41pwnnimBT6QH+6M8koa5z5UxAFQXD57KVX4Y9Tbv kSflyWFwC4myVT/uy9nYUpCjsoXh4QHLdpy0f3Y2I/SoyxZZKlxm5TmrvCCfgDO8FjrG/6O7SaE6Z FmRRelohXPNtVkBffVfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pM91V-001chI-4l; Sun, 29 Jan 2023 14:51:13 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pM91R-001cgX-7F for linux-arm-kernel@lists.infradead.org; Sun, 29 Jan 2023 14:51:10 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2A01860D3A; Sun, 29 Jan 2023 14:51:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 223F7C433EF; Sun, 29 Jan 2023 14:51:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675003866; bh=lCnGajDczmgjdfaOaigtlGKys56hqbLDWWrpKImZVQI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=J9liH0mmRLx7j3YSfhxlIGHTXOIbsjhwWxrlUml/4CFcGmfwCIZGylUUfveJMhPEA WpteS9BJH/b3mnhdpzzThQc/zHlniwKln5qCvbSr/DLjAK61Wg64ZONPWIcf7QcsgV hhR/+9nLCWevQsrxrDmiqxXQevO9hFF6LU8hhHNuiBbDf5+LqAbtsuZNpAMbUNDM1i 3TEz99Bv6fjscFhJ72WyG31a9fZvk9TMsQLa1pSuNfB+I7/8C87RjvZjFxlhi2a9cU TLX2gOhG5XOywyWt2nKg8Omsfevxris2wbEOKKnOfJS7FoJQV0WB3g8IOK0LfLDZt8 LAdU+0Pt6bUFg== Date: Sun, 29 Jan 2023 07:51:04 -0700 From: Nathan Chancellor To: Arnd Bergmann Cc: Russell King , Nick Desaulniers , Tom Rix , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, patches@lists.linux.dev Subject: Re: [PATCH] ARM: Allow pre-ARMv5 builds with ld.lld 16.0.0 and newer Message-ID: References: <20230118-v4-v4t-lld-16-v1-1-e3d9a00ae47c@kernel.org> <1206e990-23b3-44c8-97c9-869ec0aeead0@app.fastmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1206e990-23b3-44c8-97c9-869ec0aeead0@app.fastmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230129_065109_343715_860A4DD9 X-CRM114-Status: GOOD ( 19.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Fri, Jan 27, 2023 at 10:56:06PM +0100, Arnd Bergmann wrote: > On Wed, Jan 18, 2023, at 20:22, Nathan Chancellor wrote: > > Commit 6a7ee50f8f56 ("ARM: disallow pre-ARMv5 builds with ld.lld") > > prevented v4 or v4t kernels when ld.lld will link the kernel due to > > inserting unsupported blx instructions. > > > > ld.lld has been fixed in current main (16.0.0) to avoid inserting these > > instructions by inserting position independent thunks instead. Allow > > these configurations to be enabled when ld.lld 16.0.0 is used to link > > the kernel. > > > > Additionally, add a link to the upstream LLVM issue so that the reason > > for this dependency is clearly documented. > > > > Link: https://github.com/ClangBuiltLinux/linux/issues/964 > > Link: > > https://github.com/llvm/llvm-project/commit/6f9ff1beee9d12aca0c9caa9ae0051dc6d0a718c > > Suggested-by: Nick Desaulniers > > Signed-off-by: Nathan Chancellor > > Thanks a lot for getting this fixed! > > I gave this a spin on my randconfig build setup, which showed > nothing unusual. > > Tested-by: Arnd Bergmann > > Please add this to Russell's patch tracker. Done, thanks for testing! https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9289/1 Cheers, Nathan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel