Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

treewide: drop outdated compiler version remarks in Kconfig help texts

As of writing, Documentation/Changes states the minimal versions of GNU C
being 8.1, Clang being 15.0.0 and binutils being 2.30. A few Kconfig help
texts are pointing out that specific GCC and Clang versions are needed,
but by now, those pointers to versions, such later than 4.0, later than
4.4, or clang later than 5.0, are obsolete and unlikely to be found by
users configuring their kernel builds anyway.

Drop these outdated remarks in Kconfig help texts referring to older
compiler and binutils versions. No functional change.

Link: https://lkml.kernel.org/r/20251010082138.185752-1-lukas.bulwahn@redhat.com
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
Cc: Bill Wendling <morbo@google.com>
Cc: Justin Stitt <justinstitt@google.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Russel King <linux@armlinux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Lukas Bulwahn and committed by
Andrew Morton
cd4eaccc 02582ac3

+9 -15
+8 -11
arch/Kconfig
··· 232 232 config ARCH_USE_BUILTIN_BSWAP 233 233 bool 234 234 help 235 - Modern versions of GCC (since 4.4) have builtin functions 236 - for handling byte-swapping. Using these, instead of the old 237 - inline assembler that the architecture code provides in the 238 - __arch_bswapXX() macros, allows the compiler to see what's 239 - happening and offers more opportunity for optimisation. In 240 - particular, the compiler will be able to combine the byteswap 241 - with a nearby load or store and use load-and-swap or 242 - store-and-swap instructions if the architecture has them. It 243 - should almost *never* result in code which is worse than the 244 - hand-coded assembler in <asm/swab.h>. But just in case it 245 - does, the use of the builtins is optional. 235 + GCC and Clang have builtin functions for handling byte-swapping. 236 + Using these allows the compiler to see what's happening and 237 + offers more opportunity for optimisation. In particular, the 238 + compiler will be able to combine the byteswap with a nearby load 239 + or store and use load-and-swap or store-and-swap instructions if 240 + the architecture has them. It should almost *never* result in code 241 + which is worse than the hand-coded assembler in <asm/swab.h>. 242 + But just in case it does, the use of the builtins is optional. 246 243 247 244 Any architecture with load-and-swap or store-and-swap 248 245 instructions should set this. And it shouldn't hurt to set it
-2
arch/arm/Kconfig
··· 1161 1161 disambiguate both ABIs and allow for backward compatibility support 1162 1162 (selected with CONFIG_OABI_COMPAT). 1163 1163 1164 - To use this you need GCC version 4.0.0 or later. 1165 - 1166 1164 config OABI_COMPAT 1167 1165 bool "Allow old ABI binaries to run with this kernel (EXPERIMENTAL)" 1168 1166 depends on AEABI && !THUMB2_KERNEL
+1 -2
lib/Kconfig.debug
··· 332 332 depends on $(cc-option,-gz=zlib) 333 333 depends on $(ld-option,--compress-debug-sections=zlib) 334 334 help 335 - Compress the debug information using zlib. Requires GCC 5.0+ or Clang 336 - 5.0+, binutils 2.26+, and zlib. 335 + Compress the debug information using zlib. 337 336 338 337 Users of dpkg-deb via debian/rules may find an increase in 339 338 size of their debug .deb packages with this config set, due to the