From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A3E810E4; Fri, 11 Aug 2023 04:13:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7A10C433C8; Fri, 11 Aug 2023 04:13:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691727223; bh=0nMtbzOF+FHXauK0+1lynfoqJs/CmuWuApidsAPL4Yg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QZEPlKVXnMT6PdNqCejEdN8xt8B7ZnRZoyuyAcA5iByxOs2UZyPF0VfY98bo7fvtJ pwHJpZH7FX6SBz8xgixVRkwWqNZaw8RSEeHkWODws0kwWFG9JV7q61aTb9lJSBC58k FMuzriXzy/bNzj6kDXPCMk5a46LuWZBSE3m1Zm75fHNq4LjY/gFZKzDo/KaHUkHsRJ dkuFTt8qQrPepxna1jsNlcBDqVAh6Xp6vWG/cT6F9tdSSsNYyqPJJrTl6dsJ758bud 0L2OX52rG/AB1EA2jfGVfpXRqJbXMTHuAMg5DddCcix1vfatC3DILt9EFnY+4+3O6t Tp38pzAMu5E/A== Date: Thu, 10 Aug 2023 21:13:39 -0700 From: Nathan Chancellor To: Guenter Roeck Cc: Naresh Kamboju , Greg Kroah-Hartman , clang-built-linux , stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, Nick Desaulniers , Sven Volkinsfeld , Daniel Kolesa , Borislav Petkov , x86@kernel.org Subject: Re: [PATCH 6.1 000/127] 6.1.45-rc1 review Message-ID: <20230811041339.GA193223@dev-arch.thelio-3990X> References: <20230809103636.615294317@linuxfoundation.org> <078d6e3d-9572-a624-2c5a-e2d58473e6d0@roeck-us.net> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <078d6e3d-9572-a624-2c5a-e2d58473e6d0@roeck-us.net> On Thu, Aug 10, 2023 at 08:41:42PM -0700, Guenter Roeck wrote: > On 8/10/23 20:22, Naresh Kamboju wrote: > > Build errors: > > ----- > > ld.lld: error: ./arch/x86/kernel/vmlinux.lds:193: at least one side of > > the expression must be absolute > > make[2]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1 > > > > We see that with v5.10.y, v5.15.y, and v6.1.y when building ChromeOS images with > clang/lld. There are additional problems with LTO and the built-in assembler. See > https://www.linuxquestions.org/questions/slackware-14/error-building-kernel-6-1-44-on-current-with-clang-4175727865/ > for a summary. Yup, we have issues open for all of those: https://github.com/ClangBuiltLinux/linux/issues/1907 https://github.com/ClangBuiltLinux/linux/issues/1909 https://github.com/ClangBuiltLinux/linux/issues/1911 1907 is fixed in -tip and I am sure it will make -rc6 [1]. 1909 is fixed with [2] but it is sitting in x86/core (i.e., slated for next merge window). I am guessing at the time it was picked up, it was not fixing a noticeable issue, which is obviously not the case now. Nick reached out to the -tip folks on IRC to inquire about getting that applied to a branch that is going to Linus soon, as it is more of a process issue since it has conflicts with SRSO and an separate issue that was pointed out post-acceptance (which I addressed and pushed to [3] for testing). I never saw a response there (which is understandable, it is a busy time...) so looping the -tip folks in now, just to make sure it does not get lost (apologies if this is noise). 1911 is still being investigated (some additional eyes on it would not hurt). [1]: https://git.kernel.org/tip/cbe8ded48b939b9d55d2c5589ab56caa7b530709 [2]: https://git.kernel.org/tip/973ab2d61f33dc85212c486e624af348c4eeb5c9 [3]: https://github.com/ClangBuiltLinux/linux/commit/150c42407f87463c27a2459e06845965291d9973 > As far as I can see none of those problems has been fixed in the upstream kernel. Indeed, embargos are fun... :) Cheers, Nathan