Skip to contentSkip to conversation

toolchain: disable gcc bug 68485 if gcc version >= 10.x

PATCH New Giulio Benetti 2 participants 3 messages Mar 5, 2021 – Mar 7, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toolchain: disable gcc bug 68485 if gcc version >= 10.x

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

---
 toolchain/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
toolchain/Config.in +3 -2
index 553612c4aa..0cd8b82059 100644
@@ -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.
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 toolchain: disable gcc bug 68485 if gcc version >= 10.x

Giulio, All,

On 2021-03-05 16:37 +0100, Giulio Benetti spake thusly:

Quoted 13 lines

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

---
 toolchain/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
toolchain/Config.in +0 -0
index 553612c4aa..0cd8b82059 100644

toolchain/Config.in config BR2_TOOLCHAIN_HAS_GCC_BUG_64735 · line 135

Quoted 7 lines
toolchain/Config.in +2 -2
@@ -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

I don;t understand, because you said exactly the opposite ion that bug tracker:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485#c9

bug still exists on gcc 10.2, is there any news about it?

So what? ;-)

Regards,
Yann E. MORIN.

Quoted 14 lines
toolchain/Config.in +1 -0
 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.
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 toolchain: disable gcc bug 68485 if gcc version >= 10.x

Hi Yann,

Quoted 28 lines · Yann E. MORIN

Giulio, All,

On 2021-03-05 16:37 +0100, Giulio Benetti spake thusly:

Quoted 13 lines

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

---
  toolchain/Config.in | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
toolchain/Config.in +0 -0
index 553612c4aa..0cd8b82059 100644

toolchain/Config.in config BR2_TOOLCHAIN_HAS_GCC_BUG_64735 · line 135

Quoted 7 lines
toolchain/Config.in +2 -2
@@ -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

I don;t understand, because you said exactly the opposite ion that bug tracker:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485#c9

Quoted 3 lines

bug still exists on gcc 10.2, is there any news about it?

So what? ;-)

You're right, I've re-tested all cases I can test and on 10.2 doesn't work, so please drop this patch.

Thank you
Best regards

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
Quoted 18 lines

Regards,
Yann E. MORIN.

Quoted 14 lines
toolchain/Config.in +1 -0
  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.
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot