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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 15 13:36:10 UTC 2016


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 ?

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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list