[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKwvOd=Hc3SkTdm+JLoswwEQ-QW50Cy82t=AEMusqJnHYOKUQg@mail.gmail.com>
Date: Wed, 26 Aug 2020 11:58:34 -0700
From: Nick Desaulniers <ndesaulniers@...gle.com>
To: Sedat Dilek <sedat.dilek@...il.com>
Cc: Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <natechancellor@...il.com>,
Michal Marek <michal.lkml@...kovi.net>,
Jonathan Corbet <corbet@....net>,
Randy Dunlap <rdunlap@...radead.org>,
"Theodore Ts'o" <tytso@....edu>, Kees Cook <keescook@...omium.org>,
Will Deacon <will@...nel.org>, Borislav Petkov <bp@...e.de>,
"Alexander A. Klimov" <grandmaster@...klimov.de>,
Clang-Built-Linux ML <clang-built-linux@...glegroups.com>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Doc Mailing List <linux-doc@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Documentation: add minimum clang/llvm version
On Wed, Aug 26, 2020 at 8:53 AM Sedat Dilek <sedat.dilek@...il.com> wrote:
>
> Thanks for the text - a first good step.
>
> Do you plan checks in the source-code - in the future (see [1] where I
> played a bit)?
Oh, I forgot! Good idea, will add a check to compiler-clang.h.
> Arch-specific supported LLVM toolchain versions?
No. That's going to be a complicated mess with frequent churn.
> Feature-specific support (like KCSAN, Clang-IAS, etc.)?
Ditto. (no)
> In the future we should introduce some checks for this to be user-friendly.
>
> If you talk about "Clang/LLVM" does this include the LLD linker?
> Personally, I think LLD is worth a separate item like GNU/ld (BFD) linker.
binutils version checks aren't enforced like the compiler version is,
so for now I'll stick to just checking the compiler version. That
dodges the combinatorial explosion with regards to support you're
referring to. Otherwise we're talking about a complicated
multidimensional table that we don't have CI coverage of.
> [1] https://github.com/ClangBuiltLinux/linux/issues/941
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/kbuild/llvm.rst#n47
--
Thanks,
~Nick Desaulniers
Powered by blists - more mailing lists