|
@@ -50,6 +50,21 @@ config BR2_GCC_VERSION_10_X
|
|
|
depends on !BR2_csky
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_10
|
|
|
|
|
|
+config BR2_GCC_VERSION_11_X
|
|
|
+ bool "gcc 11.x"
|
|
|
+ # powerpc spe support has been deprecated since gcc 8.x.
|
|
|
+ # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html
|
|
|
+ depends on !BR2_powerpc_SPE
|
|
|
+ # C-SKY sk610 needs abiv1, which is not supported in
|
|
|
+ # upstream gcc. C-SKY gcc upstream support not tested
|
|
|
+ # with upstream binutils and glibc.
|
|
|
+ depends on !BR2_csky
|
|
|
+ # uClibc-ng broken on sparc due to recent gcc changes
|
|
|
+ # that need to be reverted since gcc 8.4, 9.3 and 10.1.
|
|
|
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
|
|
|
+ depends on !BR2_sparc
|
|
|
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
|
|
+
|
|
|
endchoice
|
|
|
|
|
|
# libcilkrts was introduced in gcc 4.9 and removed in gcc 8.x
|
|
@@ -75,6 +90,7 @@ config BR2_GCC_VERSION
|
|
|
default "8.4.0" if BR2_GCC_VERSION_8_X
|
|
|
default "9.4.0" if BR2_GCC_VERSION_9_X
|
|
|
default "10.3.0" if BR2_GCC_VERSION_10_X
|
|
|
+ default "11.1.0" if BR2_GCC_VERSION_11_X
|
|
|
default "arc-2020.09-release" if BR2_GCC_VERSION_ARC
|
|
|
default "48152afb96c59733d5bc79e3399bb7b3d4b44266" if BR2_GCC_VERSION_CSKY
|
|
|
|