aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/Config.version
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-03-12 10:31:19 +0100
committerFelix Fietkau <nbd@nbd.name>2018-03-12 12:19:23 +0100
commit61eee1adfbc9433b08b53f44804d4fb8d8d25f38 (patch)
tree2b677bbcc94a4834e72e4299b643728f4ae00e77 /toolchain/gcc/Config.version
parent16cec7ae67d9a1e88cb30b45f45596ba753b2afa (diff)
downloadupstream-61eee1adfbc9433b08b53f44804d4fb8d8d25f38.tar.gz
upstream-61eee1adfbc9433b08b53f44804d4fb8d8d25f38.tar.bz2
upstream-61eee1adfbc9433b08b53f44804d4fb8d8d25f38.zip
toolchain/gcc: switch to version 7 by default
Newer GCC versions are reported to improve code size on various ARM devices, which is why newer u-boot versions require them now. There have also been user reports of data corruption issues fixed on MIPS by updating from GCC 5 to GCC 7. This update was previously held up by these two MIPS compile issues, which have since been fixed: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84790 Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/gcc/Config.version')
-rw-r--r--toolchain/gcc/Config.version10
1 files changed, 4 insertions, 6 deletions
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index ef47fb419d..50da678a05 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -2,15 +2,13 @@ config GCC_VERSION_7_1_ARC
default y if (!TOOLCHAINOPTS && arc)
bool
-config GCC_VERSION_7
- default y if GCC_USE_VERSION_7
- default y if (!TOOLCHAINOPTS && x86_64)
- default y if (!TOOLCHAINOPTS && i386)
+config GCC_VERSION_5
+ default y if GCC_USE_VERSION_5
bool
config GCC_VERSION
string
+ default "5.5.0" if GCC_VERSION_5
default "arc-2017.09-release" if GCC_VERSION_7_1_ARC
default "6.3.0" if GCC_USE_VERSION_6
- default "7.3.0" if GCC_VERSION_7
- default "5.5.0"
+ default "7.3.0"