linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/7] set clang minimum version to 10.0.1
@ 2020-09-02 22:59 Nick Desaulniers
  2020-09-02 22:59 ` [PATCH v3 1/7] compiler-clang: add build check for clang 10.0.1 Nick Desaulniers
                   ` (9 more replies)
  0 siblings, 10 replies; 27+ messages in thread
From: Nick Desaulniers @ 2020-09-02 22:59 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Kees Cook, Miguel Ojeda, Nathan Chancellor, Sedat Dilek,
	Marco Elver, Andrey Konovalov, Masahiro Yamada,
	clang-built-linux, Daniel Borkmann, Alexei Starovoitov,
	Will Deacon, Vincenzo Frascino, linux-kernel, Nick Desaulniers

Adds a compile time #error to compiler-clang.h setting the effective
minimum supported version to clang 10.0.1. A separate patch has already
been picked up into the Documentation/ tree also confirming the version.

Next are a series of reverts. One for 32b arm is a partial revert.

Then Marco suggested fixes to KASAN docs.

Finally, improve the warning for GCC too as per Kees.

Patches after 001 are new for v2.

v3 just collects tags and fixes typos in a few commit messages.

Marco Elver (1):
  kasan: Remove mentions of unsupported Clang versions

Nick Desaulniers (6):
  compiler-clang: add build check for clang 10.0.1
  Revert "kbuild: disable clang's default use of -fmerge-all-constants"
  Revert "arm64: bti: Require clang >= 10.0.1 for in-kernel BTI support"
  Revert "arm64: vdso: Fix compilation with clang older than 8"
  Partially revert "ARM: 8905/1: Emit __gnu_mcount_nc when using Clang
    10.0.0 or newer"
  compiler-gcc: improve version error

 Documentation/dev-tools/kasan.rst | 4 ++--
 Makefile                          | 9 ---------
 arch/arm/Kconfig                  | 2 +-
 arch/arm64/Kconfig                | 2 --
 arch/arm64/kernel/vdso/Makefile   | 7 -------
 include/linux/compiler-clang.h    | 8 ++++++++
 include/linux/compiler-gcc.h      | 2 +-
 lib/Kconfig.kasan                 | 9 ++++-----
 8 files changed, 16 insertions(+), 27 deletions(-)

-- 
2.28.0.402.g5ffc5be6b7-goog


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2020-11-18  2:37 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-02 22:59 [PATCH v3 0/7] set clang minimum version to 10.0.1 Nick Desaulniers
2020-09-02 22:59 ` [PATCH v3 1/7] compiler-clang: add build check for clang 10.0.1 Nick Desaulniers
2020-11-03  4:55   ` Jarkko Sakkinen
2020-11-03  6:38     ` Nathan Chancellor
2020-11-03  9:00       ` Jarkko Sakkinen
2020-11-03 18:48     ` Nick Desaulniers
2020-11-04  0:38       ` Jarkko Sakkinen
2020-11-04  1:18         ` Nick Desaulniers
2020-11-04  1:34           ` Jarkko Sakkinen
2020-11-04  1:36             ` Jarkko Sakkinen
2020-11-17  3:04             ` John Hubbard
2020-11-17 18:46               ` Nick Desaulniers
2020-11-18  2:31                 ` Nathan Chancellor
2020-11-18  2:37                   ` Andrew Morton
2020-09-02 22:59 ` [PATCH v3 2/7] Revert "kbuild: disable clang's default use of -fmerge-all-constants" Nick Desaulniers
2020-09-02 22:59 ` [PATCH v3 3/7] Revert "arm64: bti: Require clang >= 10.0.1 for in-kernel BTI support" Nick Desaulniers
2020-09-02 22:59 ` [PATCH v3 4/7] Revert "arm64: vdso: Fix compilation with clang older than 8" Nick Desaulniers
2020-09-02 22:59 ` [PATCH v3 5/7] Partially revert "ARM: 8905/1: Emit __gnu_mcount_nc when using Clang 10.0.0 or newer" Nick Desaulniers
2020-09-02 22:59 ` [PATCH v3 6/7] kasan: Remove mentions of unsupported Clang versions Nick Desaulniers
2020-09-02 22:59 ` [PATCH v3 7/7] compiler-gcc: improve version error Nick Desaulniers
2020-09-07 21:25   ` Will Deacon
2020-09-03 14:06 ` [PATCH v3 0/7] set clang minimum version to 10.0.1 Sedat Dilek
2020-09-03 17:28   ` Nathan Chancellor
2020-09-04  5:42     ` Miguel Ojeda
2020-09-07 16:12 ` Arvind Sankar
2020-09-08  4:42   ` Nathan Chancellor
2020-09-07 21:26 ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).