[Buildroot] [PATCH v2 0/3] Fix binutils bug 21464 and remove it

Giulio Benetti giulio.benetti at benettiengineering.com
Mon Jul 26 22:34:32 UTC 2021


This patchset fixes binutils bug 21464 and fixes libgeos and protobuf
packages build failure by introducing the gcc option flag -mcmodel.
This is done by adding upstreamed binutils and gcc patches.

Note:
this way buildroot toolchains can be considered bug binutils 21464 free
and the only other OpenRisc toolchain supported is the external Bootlin
one. So this patchset has to be considered valid once Bootlin updates its
OpenRisc by adding binutils and gcc patches that are added with patches in
this patchset.

V1->V2:
* squashed patches [6..9/9] into one resulting into
"toolchain: remove binutils bug 21464" where binutils bug gets removed all
around buildroot. Note that this patch has been sent as v2 alone but it
shouldn't have been since was part of this patchset and before it the
other 2 patches which add -mcmodel=large to libgeos and protobuf must be
applied.

Giulio Benetti (3):
  package/libgeos: fix build failure due to missing -mcmodel=large
  package/protobuf: fix build failure due to missing -mcmodel=large
  toolchain: remove binutils bug 21464

 package/libgeos/Config.in    | 4 +---
 package/libgeos/libgeos.mk   | 4 ++++
 package/postgis/Config.in    | 4 +---
 package/protobuf/Config.in   | 1 -
 package/protobuf/protobuf.mk | 4 ++++
 toolchain/Config.in          | 6 ------
 6 files changed, 10 insertions(+), 13 deletions(-)

-- 
2.25.1




More information about the buildroot mailing list