[Buildroot] [PATCH v2 3/6] toolchain: introduce BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27100
thomas.petazzoni at bootlin.com
Sun Mar 14 22:05:44 UTC 2021
On Wed, 10 Mar 2021 10:14:50 +0100
Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:
> On OpenRisc binutils it still present ld bug 27100 leading to a package
> openal to fail building:
> The bug was already reported and it's been updated:
How do you know it is this bug? The "final link failed: bad value"
message is pretty generic. Did you actually check that those issues no
longer appear with binutils 2.36 ?
> +# https://sourceware.org/bugzilla/show_bug.cgi?id=27100
> +# Affect toolchains built with binutils 2.33.1 (fixed in binutils 2.36)
> +config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27100
> + bool
> + default y if BR2_or1k && !BR2_BINUTILS_VERSION_2_36_X
Obviously, an annoying problem is that the BR2_BINUTILS_VERSION_2_36_X
part of the condition does not take into account external toolchains.
So for external toolchains that have binutils >= 2.36, we still won't
be able to build those packages.
But oh well, for something like OpenRISC, this is perhaps an acceptable
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
More information about the buildroot