Merge tag 'gcc-minimum-version-6.16' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 31 May 2025 15:16:52 +0000 (08:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 31 May 2025 15:16:52 +0000 (08:16 -0700)
commitdee264c16a6334dcdbea5c186f5ff35f98b1df42
tree214063436034d0cd74c5a1605058fb29516ba5a8
parent31848987f177a6c0944fd0254a55ffd7c52a8c50
parent582847f9702461b0a1cba3efdb2b8135bf940d53
Merge tag 'gcc-minimum-version-6.16' of git://git./linux/kernel/git/arnd/asm-generic

Pull compiler version requirement update from Arnd Bergmann:
 "Require gcc-8 and binutils-2.30

  x86 already uses gcc-8 as the minimum version, this changes all other
  architectures to the same version. gcc-8 is used is Debian 10 and Red
  Hat Enterprise Linux 8, both of which are still supported, and
  binutils 2.30 is the oldest corresponding version on those.

  Ubuntu Pro 18.04 and SUSE Linux Enterprise Server 15 both use gcc-7 as
  the system compiler but additionally include toolchains that remain
  supported.

  With the new minimum toolchain versions, a number of workarounds for
  older versions can be dropped, in particular on x86_64 and arm64.
  Importantly, the updated compiler version allows removing two of the
  five remaining gcc plugins, as support for sancov and structeak
  features is already included in modern compiler versions.

  I tried collecting the known changes that are possible based on the
  new toolchain version, but expect that more cleanups will be possible.

  Since this touches multiple architectures, I merged the patches
  through the asm-generic tree."

* tag 'gcc-minimum-version-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
  Makefile.kcov: apply needed compiler option unconditionally in CFLAGS_KCOV
  Documentation: update binutils-2.30 version reference
  gcc-plugins: remove SANCOV gcc plugin
  Kbuild: remove structleak gcc plugin
  arm64: drop binutils version checks
  raid6: skip avx512 checks
  kbuild: require gcc-8 and binutils-2.30
arch/arm64/Kconfig
arch/um/Makefile
lib/Kconfig.debug
mm/mm_init.c
scripts/Makefile.compiler
scripts/Makefile.gcc-plugins
scripts/gcc-plugins/Kconfig
security/Kconfig.hardening