[openwrt/openwrt] toolchain/gcc: switch to version 11 by default
LEDE Commits
lede-commits at lists.infradead.org
Wed Sep 22 01:08:01 PDT 2021
aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/da5bb885e17cf77caea70adcf473f1fb95448553
commit da5bb885e17cf77caea70adcf473f1fb95448553
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Sat Sep 18 23:16:59 2021 -1000
toolchain/gcc: switch to version 11 by default
gcc10 seem to increase build size and gcc11 seem to fix that.
Compile tests:
* all
Runtime tests:
* ath79
* mpx85xx/p2020
* mvebu
* x86/64
Special thanks to Rosen for fixing layerscape & bcm63xx
Signed-off-by: Paul Spooren <mail at aparcar.org>
Reviewed-by: Rui Salvaterra <rsalvaterra at gmail.com
Acked-by: Rosen Penev <rosenp at gmail.com>
Acked-by: Rui Salvaterra <rsalvaterra at gmail.com
Acked-by: Hauke Mehrtens <hauke at hauke-m.de>
Acked-by: Stijn Tintel <stijn at linux-ipv6.be>
Acked-by: Aleksander Jan Bajkowski <A.Bajkowski at stud.elka.pw.edu.pl>
Tested-by: Pawel Dembicki <paweldembicki at gmail.com>
Tested-by: Aleksander Jan Bajkowski <A.Bajkowski at stud.elka.pw.edu.pl>
---
toolchain/gcc/Config.in | 2 +-
toolchain/gcc/Config.version | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 813c3dfa3e..357589e172 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -2,7 +2,7 @@
choice
prompt "GCC compiler Version" if TOOLCHAINOPTS
- default GCC_USE_VERSION_10
+ default GCC_USE_VERSION_11
help
Select the version of gcc you wish to use.
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 05cd8f031b..61506b670b 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -2,12 +2,12 @@ config GCC_VERSION_8
default y if GCC_USE_VERSION_8
bool
-config GCC_VERSION_11
- default y if GCC_USE_VERSION_11
+config GCC_VERSION_10
+ default y if GCC_USE_VERSION_10
bool
config GCC_VERSION
string
default "8.4.0" if GCC_VERSION_8
- default "11.2.0" if GCC_VERSION_11
- default "10.3.0"
+ default "10.3.0" if GCC_VERSION_10
+ default "11.2.0"
More information about the lede-commits
mailing list