]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Kbuild: remove structleak gcc plugin
authorArnd Bergmann <arnd@arndb.de>
Mon, 7 Apr 2025 19:21:14 +0000 (21:21 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 30 Apr 2025 19:57:09 +0000 (21:57 +0200)
commit8530ea3c9b9747faba46ed3a59ad103b894f1189
tree48be68cdb68d52cede37f67e20adf0acd52fa05b
parent2555d4c6872085584bda55d1c2bc048cae5fb0b3
Kbuild: remove structleak gcc plugin

gcc-12 and higher support the -ftrivial-auto-var-init= flag, after
gcc-8 is the minimum version, this is half of the supported ones, and
the vast majority of the versions that users are actually likely to
have, so it seems like a good time to stop having the fallback
plugin implementation

Older toolchains are still able to build kernels normally without
this plugin, but won't be able to use variable initialization..

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/gpu/drm/panel/panel-tpo-td028ttec1.c
lib/Kconfig.debug
lib/tests/stackinit_kunit.c
mm/mm_init.c
scripts/Makefile.gcc-plugins
scripts/gcc-plugins/structleak_plugin.c [deleted file]
security/Kconfig.hardening