linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Linus Torvalds" <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
	Linux-Arch <linux-arch@vger.kernel.org>,
	linux-kbuild@vger.kernel.org, "Kees Cook" <kees@kernel.org>,
	x86@kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-hardening@vger.kernel.org
Subject: [GIT PULL] require gcc-8 and binutils-2.30
Date: Sat, 31 May 2025 11:09:53 +0200	[thread overview]
Message-ID: <feab370a-3857-4ae9-a22d-1ab6d992c73c@app.fastmail.com> (raw)

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

             reply	other threads:[~2025-05-31  9:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-31  9:09 Arnd Bergmann [this message]
2025-05-31 13:40 ` [GIT PULL] require gcc-8 and binutils-2.30 Kees Cook
2025-05-31 15:30 ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=feab370a-3857-4ae9-a22d-1ab6d992c73c@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=kees@kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).