Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] toolchain: disable gcc bug 68485 if gcc version >= 10.x
@ 2021-03-05 15:37 Giulio Benetti
  2021-03-06 22:13 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Giulio Benetti @ 2021-03-05 15:37 UTC (permalink / raw)
  To: buildroot

Since gcc version 10.x bug 68485 doesn't show anymore, so let's make it
enabled up to versino 10.x excluded.

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

diff --git a/toolchain/Config.in b/toolchain/Config.in
index 553612c4aa..0cd8b82059 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -131,11 +131,12 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_64735
 	default y if !BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS && \
 		!BR2_TOOLCHAIN_GCC_AT_LEAST_7
 
-# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. This bug still
-# exists in gcc 9.x
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. This bug no
+# longer exists in gcc 10.x
 config BR2_TOOLCHAIN_HAS_GCC_BUG_68485
 	bool
 	default y if BR2_microblaze
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10
 
 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no
 # longer exists in gcc 8.x.
-- 
2.25.1

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

end of thread, other threads:[~2021-03-07 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-05 15:37 [Buildroot] [PATCH] toolchain: disable gcc bug 68485 if gcc version >= 10.x Giulio Benetti
2021-03-06 22:13 ` Yann E. MORIN
2021-03-07 12:53   ` Giulio Benetti

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