Skip to contentSkip to conversation

Binutils version used on MIPS

Buildroot Thomas Petazzoni 3 participants 5 messages Jul 1, 2014 – Jul 2, 2014

lore
Share & tools
lore
#0 lore raw

Vicente, Markos,

For the MIPS architecture, the current default binutils version in the Buildroot internal toolchain backend is 2.21:

prompt "Binutils Version"
depends on !BR2_arc
default BR2_BINUTILS_VERSION_2_21 if (BR2_mips || BR2_mipsel || BR2_sh) default BR2_BINUTILS_VERSION_2_24 if BR2_microblaze || BR2_powerpc64le default BR2_BINUTILS_VERSION_2_22

Do you know if there's a good reason to keep using 2.21, as opposed to a more recent version such as 2.23 or 2.24 ? It would be good to have a little bit of testing done with binutils 2.23 or 2.24 and if it's successful, bump the default version used on MIPS.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#1 lore raw
Quoted 11 lines · Thomas Petazzoni

Vicente, Markos,

For the MIPS architecture, the current default binutils version in the Buildroot internal toolchain backend is 2.21:

prompt "Binutils Version"
depends on !BR2_arc
default BR2_BINUTILS_VERSION_2_21 if (BR2_mips || BR2_mipsel || BR2_sh) default BR2_BINUTILS_VERSION_2_24 if BR2_microblaze || BR2_powerpc64le default BR2_BINUTILS_VERSION_2_22

Quoted 9 lines

Do you know if there's a good reason to keep using 2.21, as opposed to a more recent version such as 2.23 or 2.24 ? It would be good to have a little bit of testing done with binutils 2.23 or 2.24 and if it's successful, bump the default version used on MIPS.

Thanks!

Thomas

Hi Thomas,

No good reason and thanks for noticing. We will send a patch to use the latest one by default.

Signature · 1 line
markos
#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Markos" == Markos Chandras <[email protected]> writes:

Hi,

Quoted 2 lines

No good reason and thanks for noticing. We will send a patch to use the latest one by default.

FYI, the current (arch independent) default binutils version is 2.22, not 2.24.

We moved from 2.21 to 2.22 back in october:

commit 9777dbedb012f68e54e14f9567d9dc0187d53b17

Author: Peter Korsgaard <[email protected]>
Date:   Sun Oct 6 23:45:10 2013 +0200

binutils: default to 2.22

2.21.1 is getting quite old, the linker issues with 2.22 seems to be (mostly?) sorted out by now and armhf needs 2.22+, so let's bump the default version.

Time has perhaps come to move to 2.23 or 2.24, I don't really know.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

Dear Peter Korsgaard,

Quoted 11 lines · Peter Korsgaard

FYI, the current (arch independent) default binutils version is 2.22, not 2.24.

We moved from 2.21 to 2.22 back in october:

commit 9777dbedb012f68e54e14f9567d9dc0187d53b17

Author: Peter Korsgaard <[email protected]>
Date:   Sun Oct 6 23:45:10 2013 +0200

binutils: default to 2.22

Quoted 8 lines

2.21.1 is getting quite old, the linker issues with 2.22 seems to be (mostly?) sorted out by now and armhf needs 2.22+, so let's bump the default version.

Time has perhaps come to move to 2.23 or 2.24, I don't really know.

Right, but Vicente patch simply removes the usage of a special version for MIPS, so MIPS now just uses whatever is the default version used for all architectures in Buildroot. Which I think is the right thing to do, unless there are special reasons to use a different version than the default one (such as AVR32 need of an old version, or Microblaze/PowerPC64LE need of a new version).

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hi,

Quoted 8 lines
Quoted 1 line

Time has perhaps come to move to 2.23 or 2.24, I don't really know.

Right, but Vicente patch simply removes the usage of a special version for MIPS, so MIPS now just uses whatever is the default version used for all architectures in Buildroot. Which I think is the right thing to do, unless there are special reasons to use a different version than the default one (such as AVR32 need of an old version, or Microblaze/PowerPC64LE need of a new version).

Yes, I completely agree, my comment was in regard to the references to 2.23 / 2.24.

Signature · 1 line
Bye, Peter Korsgaard