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

Romain Naour romain.naour at gmail.com
Sun Jun 20 17:22:12 UTC 2021


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 at 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.
>>  
>>




More information about the buildroot mailing list