diff mbox series

[6/6] package/gcc: switch to gcc 10.x as the default

Message ID 20210612094015.6792-6-romain.naour@gmail.com
State Accepted
Headers show
Series [1/6] board/qemu/sparc64-sun4u: avoid gcc-11 warning to build the kernel | expand

Commit Message

Romain Naour June 12, 2021, 9:40 a.m. UTC
Even if gcc 9.x is still maintained for some time (gcc 9.5 will be the last),
switch to gcc 10.x since it has been released since 2020-05-07 and
gcc 11.x is available since 2021-04-27.

We have been having toolchains in the autobuilders with gcc
10.x for a while, so the vast majority of the problems should have
already been solved.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 package/gcc/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Arnout Vandecappelle June 20, 2021, 5:07 p.m. UTC | #1
On 12/06/2021 11:40, Romain Naour wrote:
> Even if gcc 9.x is still maintained for some time (gcc 9.5 will be the last),
> switch to gcc 10.x since it has been released since 2020-05-07 and
> gcc 11.x is available since 2021-04-27.
> 
> We have been having toolchains in the autobuilders with gcc
> 10.x for a while, so the vast majority of the problems should have
> already been solved.

 In fact, another patch to solve a GCC 10 issue was submitted just last Monday
(but that was an NDEBUG issue really so OK).

 I've added the date that we started building with GCC 10 (mid-January, based on
the update of the bootlin toolchains in support/config-fragments).

 Series applied to master, thanks.

 Regards,
 Arnout

> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
>  package/gcc/Config.in.host | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
> index 5d66834301..40559e3253 100644
> --- a/package/gcc/Config.in.host
> +++ b/package/gcc/Config.in.host
> @@ -4,7 +4,7 @@ choice
>  	prompt "GCC compiler Version"
>  	default BR2_GCC_VERSION_ARC if BR2_arc
>  	default BR2_GCC_VERSION_CSKY if BR2_csky
> -	default BR2_GCC_VERSION_9_X
> +	default BR2_GCC_VERSION_10_X
>  	help
>  	  Select the version of gcc you wish to use.
>  
>
Romain Naour June 20, 2021, 5:22 p.m. UTC | #2
Hi Arnout,

Le 20/06/2021 à 19:07, Arnout Vandecappelle a écrit :
> 
> 
> On 12/06/2021 11:40, Romain Naour wrote:
>> Even if gcc 9.x is still maintained for some time (gcc 9.5 will be the last),
>> switch to gcc 10.x since it has been released since 2020-05-07 and
>> gcc 11.x is available since 2021-04-27.
>>
>> We have been having toolchains in the autobuilders with gcc
>> 10.x for a while, so the vast majority of the problems should have
>> already been solved.
> 
>  In fact, another patch to solve a GCC 10 issue was submitted just last Monday
> (but that was an NDEBUG issue really so OK).

I had a look but I need to reproduce the issue.
It seems we are not impacted since we don't have the --enable-checking option in
gcc.mk.
Maybe we could add --disable-werror like of other package (binutils, glibc).

> 
>  I've added the date that we started building with GCC 10 (mid-January, based on
> the update of the bootlin toolchains in support/config-fragments).

Ok I'll add this info next time.

> 
>  Series applied to master, thanks.

Thanks!

Best regards,
Romain


> 
>  Regards,
>  Arnout
> 
>>
>> Signed-off-by: Romain Naour <romain.naour@gmail.com>
>> ---
>>  package/gcc/Config.in.host | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
>> index 5d66834301..40559e3253 100644
>> --- a/package/gcc/Config.in.host
>> +++ b/package/gcc/Config.in.host
>> @@ -4,7 +4,7 @@ choice
>>  	prompt "GCC compiler Version"
>>  	default BR2_GCC_VERSION_ARC if BR2_arc
>>  	default BR2_GCC_VERSION_CSKY if BR2_csky
>> -	default BR2_GCC_VERSION_9_X
>> +	default BR2_GCC_VERSION_10_X
>>  	help
>>  	  Select the version of gcc you wish to use.
>>  
>>
diff mbox series

Patch

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 5d66834301..40559e3253 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -4,7 +4,7 @@  choice
 	prompt "GCC compiler Version"
 	default BR2_GCC_VERSION_ARC if BR2_arc
 	default BR2_GCC_VERSION_CSKY if BR2_csky
-	default BR2_GCC_VERSION_9_X
+	default BR2_GCC_VERSION_10_X
 	help
 	  Select the version of gcc you wish to use.