Skip to content

set clang minimum version to 10.0.1

Nick Desaulniers lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 19 repliesIn review 6 of 7 applied
  2. v27 patches 13 repliesSuperseded
  3. v11 patch 11 repliesSuperseded

Patches in v3 6 of 7 applied

#Subject and filesSizeRepliesApplied
1/7compiler-clang: add build check for clang 10.0.1include/linux/compiler-clang.h+8 -012 replies
2/7Revert "kbuild: disable clang's default use of -fmerge-all-constants"Makefile+0 -90 repliesApplied
3/7Revert "arm64: bti: Require clang >= 10.0.1 for in-kernel BTI support"arch/arm64/Kconfig+0 -20 repliesApplied
4/7Revert "arm64: vdso: Fix compilation with clang older than 8"arch/arm64/kernel/vdso/Makefile+0 -70 repliesApplied
5/7Partially revert "ARM: 8905/1: Emit __gnu_mcount_nc when using Clang 10.0.0 or newer"arch/arm/Kconfig+1 -10 repliesApplied
6/7kasan: Remove mentions of unsupported Clang versionsDocumentation/dev-tools/kasan.rst lib/Kconfig.kasan+6 -70 repliesApplied
7/7compiler-gcc: improve version errorinclude/linux/compiler-gcc.h+1 -11 replyApplied

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSedat DilekKees CookMiguel OjedaMarco ElverNathan ChancellorFangrui SongAndrey KonovalovWill Deacon
SeriesA-b
1/7T-b R-b A-b R-b R-b A-b A-b
2/7T-b R-b R-b R-b R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b R-b R-b
7/7R-b T-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/7] set clang minimum version to 10.0.1

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(-)
Signature · 1 line
2.28.0.402.g5ffc5be6b7-goog