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
8menuconfig GCC_PLUGINS8menuconfig GCC_PLUGINS
9 bool "GCC plugins"9 bool "GCC plugins"
10 depends on HAVE_GCC_PLUGINS10 depends on HAVE_GCC_PLUGINS
11 depends on CC_IS_GCC && GCC_VERSION >= 4080011 depends on CC_IS_GCC
12 depends on $(success,$(srctree)/scripts/gcc-plugin.sh $(CC))12 depends on $(success,$(srctree)/scripts/gcc-plugin.sh $(CC))
13 default y13 default y
14 help14 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