diff mbox series

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

Message ID 20210305154139.3682817-1-giulio.benetti@benettiengineering.com
State Accepted
Headers show
Series toolchain: disable gcc bug 60620 if gcc version >= 10.x | expand

Commit Message

Giulio Benetti March 5, 2021, 3:41 p.m. UTC
Since gcc version 10.x bug 60620 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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Yann E. MORIN March 6, 2021, 10:23 p.m. UTC | #1
Giulio, All,

On 2021-03-05 16:41 +0100, Giulio Benetti spake thusly:
> Since gcc version 10.x bug 60620 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>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  toolchain/Config.in | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/toolchain/Config.in b/toolchain/Config.in
> index 0cd8b82059..9d6e96d275 100644
> --- a/toolchain/Config.in
> +++ b/toolchain/Config.in
> @@ -155,10 +155,11 @@ 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.
> -# It's still not fixed in gcc 9.x
> +# This bug no longer exists in gcc 10.x
>  config BR2_TOOLCHAIN_HAS_GCC_BUG_90620
>  	bool
>  	default y if BR2_microblaze
> +	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10
>  
>  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93847
>  # ICE: compiler error: Segmentation fault on Nios II. This bug
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Yann E. MORIN March 6, 2021, 10:40 p.m. UTC | #2
Giulio, All,

On 2021-03-06 23:23 +0100, Yann E. MORIN spake thusly:
> On 2021-03-05 16:41 +0100, Giulio Benetti spake thusly:
> > Since gcc version 10.x bug 60620 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>
> 
> Applied to master, thanks.

Sprry, this was applied to next...

Regards,
Yann E. MORIN.

> Regards,
> Yann E. MORIN.
> 
> > ---
> >  toolchain/Config.in | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/toolchain/Config.in b/toolchain/Config.in
> > index 0cd8b82059..9d6e96d275 100644
> > --- a/toolchain/Config.in
> > +++ b/toolchain/Config.in
> > @@ -155,10 +155,11 @@ 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.
> > -# It's still not fixed in gcc 9.x
> > +# This bug no longer exists in gcc 10.x
> >  config BR2_TOOLCHAIN_HAS_GCC_BUG_90620
> >  	bool
> >  	default y if BR2_microblaze
> > +	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10
> >  
> >  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93847
> >  # ICE: compiler error: Segmentation fault on Nios II. This bug
> > -- 
> > 2.25.1
> > 
> > _______________________________________________
> > buildroot mailing list
> > buildroot@busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
> 
> -- 
> .-----------------.--------------------.------------------.--------------------.
> |  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.  |
> '------------------------------^-------^------------------^--------------------'
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Peter Korsgaard March 17, 2021, 7:22 p.m. UTC | #3
>>>>> "Giulio" == Giulio Benetti <giulio.benetti@benettiengineering.com> writes:

 > Since gcc version 10.x bug 60620 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>

Committed to 2021.02.x, thanks.
diff mbox series

Patch

diff --git a/toolchain/Config.in b/toolchain/Config.in
index 0cd8b82059..9d6e96d275 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -155,10 +155,11 @@  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.
-# It's still not fixed in gcc 9.x
+# This bug no longer exists in gcc 10.x
 config BR2_TOOLCHAIN_HAS_GCC_BUG_90620
 	bool
 	default y if BR2_microblaze
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10
 
 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93847
 # ICE: compiler error: Segmentation fault on Nios II. This bug