History

compiler/gcc: Raise minimum GCC version for kernel builds to 4.8

It is very rare to see versions of GCC prior to 4.8 being used to build the mainline kernel. These old compilers are also know to have codegen issues which can lead to silent miscompilation: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145 Raise the minimum GCC version for kernel build to 4.8 and remove some tautological Kconfig dependencies as a consequence.

Will Deacon committed 6 years ago

Commit 5429ef61 parent 8f3d9f36 files · +10 −13Browse files

Showing the changes to scripts (1 of 6 files). Show all

Unified · Split

scripts/gcc-plugins/Kconfig+1−1
@@ -8,7 +8,7 @@ config HAVE_GCC_PLUGINS · 7 unmodified lines
88 menuconfig GCC_PLUGINS
99 bool "GCC plugins"
1010 depends on HAVE_GCC_PLUGINS
11− depends on CC_IS_GCC && GCC_VERSION >= 40800
11+ depends on CC_IS_GCC
1212 depends on $(success,$(srctree)/scripts/gcc-plugin.sh $(CC))
1313 default y
1414 help

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t