[Buildroot] [PATCH 1/2] Disable gcc-4.8.x + binutils-2.26 + MIPS combination

Vicente Olivert Riera Vincent.Riera at imgtec.com
Tue Mar 15 13:55:39 UTC 2016


Hi Thomas,

On 15/03/16 13:36, Thomas Petazzoni wrote:
> Vicente,
> 
> On Tue, 15 Mar 2016 11:28:29 +0000, Vicente Olivert Riera wrote:
>> For the same reason as we disabled it for binutils-2.25 before.
>>
>> See 2fda0dd7d491e6e926ace1cd09ad2fb241356232 for details.
>>
>> Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
>> ---
>>  package/gcc/Config.in.host | 5 +++--
>>  1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
>> index 4845708..513899e 100644
>> --- a/package/gcc/Config.in.host
>> +++ b/package/gcc/Config.in.host
>> @@ -42,8 +42,9 @@ choice
>>  		depends on !BR2_cortex_a12 && !BR2_cortex_a17
>>  		# Broken or unsupported PPC cores
>>  		depends on !BR2_powerpc_power8
>> -		# gcc-4.8.x + binutils-2.25 is broken for MIPS
>> -		depends on !((BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) && BR2_BINUTILS_VERSION_2_25_X)
>> +		# gcc-4.8.x + binutils >= 2.25 is broken for MIPS
>> +		depends on !((BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) && \
>> +			   (BR2_BINUTILS_VERSION_2_25_X || BR2_BINUTILS_VERSION_2_26_X))
> 
> If neither binutils 2.25 nor binutils 2.26 are working, which binutils
> version is working? Only the older 2.24 ?

The combination (gcc < 4.9) + (binutils < 2.25) are OK. Currently in
Buildroot we can combine gcc-4.8 with binutils 2.23.2 and 2.24.

Regards,

Vincent.

> If that's the case, then I would probably just mark gcc 4.8 as not
> usable on MIPS, especially since it's broken with the new binutils
> versions.
> 
> Best regards,
> 
> Thomas
> 


More information about the buildroot mailing list