[GIT PULL] require gcc-8 and binutils-2.30

Arnd Bergmann arnd at arndb.de
Sat May 31 02:09:53 PDT 2025


The following changes since commit b4432656b36e5cc1d50a1f2dc15357543add530e:

  Linux 6.15-rc4 (2025-04-27 15:19:23 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/gcc-minimum-version-6.16

for you to fetch changes up to 582847f9702461b0a1cba3efdb2b8135bf940d53:

  Makefile.kcov: apply needed compiler option unconditionally in CFLAGS_KCOV (2025-05-21 16:08:42 +0200)

----------------------------------------------------------------
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.

----------------------------------------------------------------
Arnd Bergmann (6):
      kbuild: require gcc-8 and binutils-2.30
      raid6: skip avx512 checks
      arm64: drop binutils version checks
      Kbuild: remove structleak gcc plugin
      gcc-plugins: remove SANCOV gcc plugin
      Documentation: update binutils-2.30 version reference

Lukas Bulwahn (1):
      Makefile.kcov: apply needed compiler option unconditionally in CFLAGS_KCOV

 Documentation/admin-guide/README.rst               |   2 +-
 Documentation/kbuild/makefiles.rst                 |   4 +-
 Documentation/process/changes.rst                  |   6 +-
 .../translations/it_IT/process/changes.rst         |   6 +-
 .../translations/zh_CN/admin-guide/README.rst      |   2 +-
 arch/arm64/Kconfig                                 |  37 +--
 arch/arm64/Makefile                                |  21 +-
 arch/arm64/include/asm/rwonce.h                    |   4 -
 arch/arm64/kvm/Kconfig                             |   1 -
 arch/arm64/lib/xor-neon.c                          |   2 +-
 arch/um/Makefile                                   |   4 +-
 drivers/gpu/drm/panel/panel-tpo-td028ttec1.c       |   6 +-
 include/linux/unroll.h                             |   4 +-
 kernel/gcov/gcc_4_7.c                              |   4 -
 lib/Kconfig.debug                                  |  10 +-
 lib/raid6/algos.c                                  |   6 -
 lib/raid6/avx512.c                                 |   4 -
 lib/raid6/recov_avx512.c                           |   6 -
 lib/raid6/test/Makefile                            |   3 -
 lib/test_fortify/Makefile                          |   5 +-
 lib/tests/stackinit_kunit.c                        |  10 +-
 mm/mm_init.c                                       |   6 -
 scripts/Makefile.compiler                          |   2 +-
 scripts/Makefile.gcc-plugins                       |  16 --
 scripts/Makefile.kcov                              |   3 +-
 scripts/gcc-plugins/Kconfig                        |  10 -
 scripts/gcc-plugins/gcc-common.h                   |  45 ----
 scripts/gcc-plugins/sancov_plugin.c                | 134 -----------
 scripts/gcc-plugins/structleak_plugin.c            | 257 ---------------------
 scripts/min-tool-version.sh                        |   6 +-
 security/Kconfig.hardening                         |  76 ------
 31 files changed, 25 insertions(+), 677 deletions(-)
 delete mode 100644 scripts/gcc-plugins/sancov_plugin.c
 delete mode 100644 scripts/gcc-plugins/structleak_plugin.c



More information about the linux-arm-kernel mailing list