* [GIT PULL] require gcc-8 and binutils-2.30
@ 2025-05-31 9:09 Arnd Bergmann
2025-05-31 13:40 ` Kees Cook
2025-05-31 15:30 ` pr-tracker-bot
0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2025-05-31 9:09 UTC (permalink / raw)
To: Linus Torvalds
Cc: linux-kernel, Linux-Arch, linux-kbuild, Kees Cook, x86,
linux-arm-kernel, linux-hardening
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [GIT PULL] require gcc-8 and binutils-2.30
2025-05-31 9:09 [GIT PULL] require gcc-8 and binutils-2.30 Arnd Bergmann
@ 2025-05-31 13:40 ` Kees Cook
2025-05-31 15:30 ` pr-tracker-bot
1 sibling, 0 replies; 3+ messages in thread
From: Kees Cook @ 2025-05-31 13:40 UTC (permalink / raw)
To: Arnd Bergmann, Linus Torvalds
Cc: linux-kernel, Linux-Arch, linux-kbuild, x86, linux-arm-kernel,
linux-hardening
On May 31, 2025 2:09:53 AM PDT, Arnd Bergmann <arnd@arndb.de> wrote:
> Kbuild: remove structleak gcc plugin
> gcc-plugins: remove SANCOV gcc plugin
I didn't see either of these emailed out, but we'd talked about it earlier and the resulting changes look good to me. Thanks!
Acked-by: Kees Cook<kees@kernel.org>
--
Kees Cook
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [GIT PULL] require gcc-8 and binutils-2.30
2025-05-31 9:09 [GIT PULL] require gcc-8 and binutils-2.30 Arnd Bergmann
2025-05-31 13:40 ` Kees Cook
@ 2025-05-31 15:30 ` pr-tracker-bot
1 sibling, 0 replies; 3+ messages in thread
From: pr-tracker-bot @ 2025-05-31 15:30 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Linus Torvalds, linux-kernel, Linux-Arch, linux-kbuild, Kees Cook,
x86, linux-arm-kernel, linux-hardening
The pull request you sent on Sat, 31 May 2025 11:09:53 +0200:
> https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/gcc-minimum-version-6.16
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/dee264c16a6334dcdbea5c186f5ff35f98b1df42
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-31 15:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-31 9:09 [GIT PULL] require gcc-8 and binutils-2.30 Arnd Bergmann
2025-05-31 13:40 ` Kees Cook
2025-05-31 15:30 ` pr-tracker-bot
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).