@@ -250,6 +250,14 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_107728
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on BR2_OPTIMIZE_0
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109809
+# ICE: in dwarf2out_frame_debug_cfa_offset
+# Shows up starting from Gcc 13.2.0 and still has to be fixed
+config BR2_TOOLCHAIN_HAS_GCC_BUG_109809
+ bool
+ default y if BR2_RISCV_64
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_13
+
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934
# ICE: on M68K: in change_address_1, at emit-rtl.cc:2287
# This bug exists in gcc = 12.3.0 and gcc = 13.2.0
htop package fails to build for the RISCV64 architecture with optimization enabled with gcc = 13.2.0 and it's still present in gcc = 14.x as reported upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109809 So let's introduce BR2_TOOLCHAIN_HAS_GCC_BUG_109809 to handle packages affected by it like htop. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> --- toolchain/Config.in | 8 ++++++++ 1 file changed, 8 insertions(+)