|
@@ -115,15 +115,13 @@ config BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK
|
|
|
depends on !BR2_or1k
|
|
|
depends on !BR2_xtensa
|
|
|
|
|
|
-# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744. This bug no
|
|
|
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744. This bug
|
|
|
# reappeared on gcc 9.x and is still not fixed on gcc 11.x
|
|
|
config BR2_TOOLCHAIN_HAS_GCC_BUG_43744
|
|
|
bool
|
|
|
- default y if BR2_sh4
|
|
|
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \
|
|
|
- BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \
|
|
|
- BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \
|
|
|
- BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
|
|
+ default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8
|
|
|
+ default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
|
|
+ depends on BR2_sh
|
|
|
|
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no
|
|
|
# longer exists in gcc 8.x.
|
|
@@ -144,7 +142,7 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
|
|
|
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. This bug still
|
|
|
-# exists in gcc 9.x
|
|
|
+# exists in gcc 12.x
|
|
|
config BR2_TOOLCHAIN_HAS_GCC_BUG_68485
|
|
|
bool
|
|
|
default y if BR2_microblaze
|
|
@@ -155,8 +153,9 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485
|
|
|
# it still not been fixed yet.
|
|
|
config BR2_TOOLCHAIN_HAS_GCC_BUG_83143
|
|
|
bool
|
|
|
- default y if BR2_sh
|
|
|
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
|
|
+ default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_10
|
|
|
+ default y if BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
|
|
+ depends on BR2_sh
|
|
|
|
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no
|
|
|
# longer exists in gcc 8.x.
|
|
@@ -175,11 +174,12 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_85862
|
|
|
|
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620
|
|
|
# ICE: in do_output_reload, at reload1.c:7978 on microblaze.
|
|
|
-# This bug no longer exists in gcc 10.x
|
|
|
+# This bug no longer exists in gcc 10.x but reappeared in gcc 11.x
|
|
|
config BR2_TOOLCHAIN_HAS_GCC_BUG_90620
|
|
|
bool
|
|
|
default y if BR2_microblaze
|
|
|
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10
|
|
|
+ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 \
|
|
|
+ || BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
|
|
|
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93847
|
|
|
# ICE: compiler error: Segmentation fault on Nios II. This bug
|
|
@@ -207,7 +207,7 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_101737
|
|
|
|
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101915
|
|
|
# ICE: in extract_insn, at recog.c:2294 on microblaze.
|
|
|
-# This bug still exists in gcc = 11.1.0
|
|
|
+# This bug still exists in gcc = 12.1.0
|
|
|
config BR2_TOOLCHAIN_HAS_GCC_BUG_101915
|
|
|
bool
|
|
|
default y if BR2_microblaze
|
|
@@ -226,6 +226,25 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_101952
|
|
|
bool
|
|
|
default y if BR2_sh4
|
|
|
|
|
|
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028
|
|
|
+# ICE: on M68K: Error: value -16034 out of range
|
|
|
+# This bug still exists in gcc = 11.1.0
|
|
|
+config BR2_TOOLCHAIN_HAS_GCC_BUG_104028
|
|
|
+ bool
|
|
|
+ default y if BR2_m68k
|
|
|
+
|
|
|
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107728
|
|
|
+# https://sourceware.org/bugzilla/show_bug.cgi?id=29621
|
|
|
+config BR2_TOOLCHAIN_HAS_GCC_BUG_107728
|
|
|
+ bool
|
|
|
+ default y if BR2_microblazebe || BR2_microblazeel \
|
|
|
+ || BR2_mips || BR2_mipsel \
|
|
|
+ || BR2_nios2 \
|
|
|
+ || BR2_or1k \
|
|
|
+ || BR2_sh
|
|
|
+ depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
|
+ depends on BR2_OPTIMIZE_0
|
|
|
+
|
|
|
config BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
|
bool
|
|
|
|
|
@@ -572,6 +591,26 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
|
|
|
config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
|
|
|
bool
|
|
|
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
|
|
|
+
|
|
|
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
|
|
|
+ bool
|
|
|
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
|
|
|
+
|
|
|
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
|
|
|
+ bool
|
|
|
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
|
|
|
+
|
|
|
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
|
|
|
+ bool
|
|
|
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
|
|
|
+
|
|
|
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
|
|
|
+ bool
|
|
|
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
|
|
|
+
|
|
|
+config BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
|
|
|
+ bool
|
|
|
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
|
|
|
select BR2_TOOLCHAIN_HEADERS_LATEST
|
|
|
|
|
|
# This should be selected by the latest version, above, to indicate that
|
|
@@ -585,6 +624,11 @@ config BR2_TOOLCHAIN_HEADERS_LATEST
|
|
|
# stops affecting a value on the first matching default.
|
|
|
config BR2_TOOLCHAIN_HEADERS_AT_LEAST
|
|
|
string
|
|
|
+ default "6.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_0
|
|
|
+ default "5.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_19
|
|
|
+ default "5.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_18
|
|
|
+ default "5.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_17
|
|
|
+ default "5.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16
|
|
|
default "5.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15
|
|
|
default "5.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14
|
|
|
default "5.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13
|
|
@@ -699,10 +743,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
|
|
bool
|
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_10
|
|
|
|
|
|
+config BR2_TOOLCHAIN_GCC_AT_LEAST_12
|
|
|
+ bool
|
|
|
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
|
|
+
|
|
|
# This order guarantees that the highest version is set, as kconfig
|
|
|
# stops affecting a value on the first matching default.
|
|
|
config BR2_TOOLCHAIN_GCC_AT_LEAST
|
|
|
string
|
|
|
+ default "12" if BR2_TOOLCHAIN_GCC_AT_LEAST_12
|
|
|
default "11" if BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
|
|
default "10" if BR2_TOOLCHAIN_GCC_AT_LEAST_10
|
|
|
default "9" if BR2_TOOLCHAIN_GCC_AT_LEAST_9
|