Skip to content

Commit

Permalink
Bump buildroot binutils version
Browse files Browse the repository at this point in the history
Since buildroot commit f4187bd, the support of binutils 2.39 has been
dropped and updated to version 2.42. This commit updates the buildroot
configuration.
  • Loading branch information
ChinYikMing committed May 11, 2024
1 parent d27fc98 commit 2c1e29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/buildroot.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
# BR2_TOOLCHAIN_BUILDROOT_CXX is not set
BR2_KERNEL_HEADERS_6_1=y
BR2_BINUTILS_VERSION_2_39_X=y
BR2_BINUTILS_VERSION_2_42_X=y
# BR2_BINUTILS_GPROFNG is not set
BR2_GCC_VERSION_12_X=y
BR2_EXTRA_GCC_CONFIG_OPTIONS="--enable-softfloat"
Expand Down

4 comments on commit 2c1e29c

@shengwen-tw
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ChinYikMing,

I think the commit f4187bd is not yet included in any stable release of Buildroot,
Since we are using the release of 2023.11.x, we will not able to select the version 2.42.

I have tested with the following releases, which make menuconfig will downgrade binutils to a nearest feasible version of the release:

git clone https://github.com/buildroot/buildroot -b 2023.11.x
git clone https://github.com/buildroot/buildroot -b 2024.02.x

On the other hand, the up-stream release does provide option for enabling binutils version 2.42:

git clone https://github.com/buildroot/buildroot 

@ChinYikMing
Copy link
Collaborator Author

@ChinYikMing ChinYikMing commented on 2c1e29c May 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ChinYikMing,

I think the commit f4187bd is not yet included in any stable release of Buildroot, Since we are using the release of 2023.11.x, we will not able to select the version 2.42.

I have tested with the following releases, which make menuconfig will downgrade binutils to a nearest feasible version of the release:

git clone https://github.com/buildroot/buildroot -b 2023.11.x
git clone https://github.com/buildroot/buildroot -b 2024.02.x

On the other hand, the up-stream release does provide option for enabling binutils version 2.42:

git clone https://github.com/buildroot/buildroot 

Thanks for pointing out. I could recall that I was using the upstream version of buildroot. The 2024.02.x branch seems like downgrade to binutils 2.41. Maybe we shall revert this commit, then stick with the 2024.02.x branch and bump to binutil 2.41.

@jserv
Copy link
Collaborator

@jserv jserv commented on 2c1e29c May 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we shall revert this commit, then stick with the 2024.02.x branch and bump to binutils 2.41.

You can simply submit a pull request to upgrade the build script for the latest buildroot stable branch (i.e., 2024.02.x).

@ChinYikMing
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Binutils version should be default to 2.40.x in branch 2024-02-x.

Please sign in to comment.