[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <InqlMfqWWeNw8Mh6y1y5oNb3EotVpA26gkX70xcVxt9ygCtb7DYfTB3Amg3SzZfs78q3osSW2BIEpgyhmOjSqBW7neH0Se2sQEpmdClVV3M=@protonmail.com>
Date: Sat, 26 Oct 2024 14:52:52 +0000
From: Koakuma <koachan@...tonmail.com>
To: Nathan Chancellor <nathan@...nel.org>
Cc: Masahiro Yamada <masahiroy@...nel.org>, Andreas Larsson <andreas@...sler.com>, Andrew Morton <akpm@...ux-foundation.org>, "David S. Miller" <davem@...emloft.net>, Nick Desaulniers <ndesaulniers@...gle.com>, Bill Wendling <morbo@...gle.com>, Justin Stitt <justinstitt@...gle.com>, glaubitz@...sik.fu-berlin.de, Nicolas Schier <nicolas@...sle.eu>, sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org, llvm@...ts.linux.dev, linux-kbuild@...r.kernel.org
Subject: Re: [PATCH v2 0/2] sparc/build: Rework CFLAGS for clang compatibility
Masahiro Yamada <masahiroy@...nel.org> wrote:
> I think this should be documented (required LLVM version and
> the supported build command),
> otherwise people cannot test this patch.
Nathan Chancellor <nathan@...nel.org> wrote:
> I am not sure that there is a super concise way to describe for
> Documentation/kbuild/llvm.rst that sparc currently requires 'CC=clang
> LLVM_IAS=0' along with a build of clang from the main branch of
> llvm-project to work properly.
So about this, as a middle ground, would it be okay if I put
``CC=clang LLVM_IAS=0`` (LLVM >= 20)
In the documentation, in a similar manner to the s390x entry?
I know that LLVM 20 is still a couple months away but those commits will
likely be released with that version, and since it also tells people
to not use a version that is too old, I think it should be okay (?)
Powered by blists - more mailing lists