Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_80786
@ 2023-08-06 18:37 Giulio Benetti
  2023-08-06 21:32 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Giulio Benetti @ 2023-08-06 18:37 UTC (permalink / raw)
  To: buildroot
  Cc: Thomas De Schampheleire, Giulio Benetti, Romain Naour,
	Thomas Petazzoni

openssh package fails to build for the M68K architecture with optimization
enabled with gcc = 12.3.0 and it's still present in gcc = 13.2.0:
http://autobuild.buildroot.net/results/d29/d29c662e41d8969e6a8aa24870e728bcc7050563/

It's been reported upstream:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80786

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 toolchain/Config.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/toolchain/Config.in b/toolchain/Config.in
index a142d27231..328cd023d1 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -141,6 +141,13 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485
 	bool
 	default y if BR2_microblaze
 
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80786.
+# ICE: in change_address_1, at emit-rtl.c:2275
+# This bug still exists in gcc 12.x
+config BR2_TOOLCHAIN_HAS_GCC_BUG_80786
+	bool
+	default y if BR2_m68k
+
 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426
 config BR2_TOOLCHAIN_HAS_GCC_BUG_81426
 	bool
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-06 21:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-06 18:37 [Buildroot] [PATCH] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_80786 Giulio Benetti
2023-08-06 21:32 ` Thomas Petazzoni via buildroot
2023-08-06 21:54   ` Giulio Benetti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox