Skip to content

Fix binutils bug 21464 and remove it

Giulio Benetti buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9package/binutils: update or1k patches for plt link version with upstreampackage/binutils/2.32/0010-bfd-elf32-or1k-fix-ld-assert.patch package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch package/binutils/2.34/0003-bfd-elf32-or1k-fix-ld-assert.patch +5 more+236 -1400 replies
2/9package/binutils: add upstream backported patches to support -mcmodel=large gcc optionpackage/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch +9 more+3268 -01 reply
2/9package/binutils: add upstream backported patches to support -mcmodel=large gcc option+0 -04 replies
2/9package/binutils: add upstream backported patches to support -mcmodel=large gcc option+0 -01 reply
3/9package/gcc: add upstream patches that introduce -mcmodel=large option for or1kpackage/gcc/10.3.0/0002-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch package/gcc/10.3.0/0003-or1k-Use-cmodel-large-when-building-crtstuff.patch package/gcc/9.3.0/0006-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch +1 more+521 -00 replies
4/9package/libgeos: fix build failure due to missing -mcmodel=largepackage/libgeos/libgeos.mk+4 -00 replies
5/9package/protobuf: fix build failure due to missing -mcmodel=largepackage/protobuf/protobuf.mk+4 -00 replies
6/9toolchain: remove binutils bug 21464toolchain/Config.in+0 -60 replies
7/9package/libgeos: remove binutils bug 21464 dependencypackage/libgeos/Config.in+1 -30 replies
8/9package/postgis: remove libgeos binutils bug 21464 inheritancepackage/postgis/Config.in+1 -30 replies
9/9package/protobuf: remove binutils bug 21464 dependencypackage/protobuf/Config.in+0 -10 replies

Reviews trailers per patch

3 of 11 patches have a Reviewed-by or Acked-by.

PatchRomain Naour
1/9
2/9R-b
2/9R-b
2/9R-b
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/9] Fix binutils bug 21464 and remove it

This patchset fixes binutils bug 21464 and fixes libgeos build failure by introducing the gcc option flag -mcmodel. This is done by adding upstreamed binutils and gcc patches. Note tha 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.

Giulio Benetti (9):
package/binutils: update or1k patches for plt link version with
upstream
package/binutils: add upstream backported patches to support
-mcmodel=large gcc option
package/gcc: add upstream patches that introduce -mcmodel=large option
for or1k
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: remove binutils bug 21464 dependency package/postgis: remove libgeos binutils bug 21464 inheritance package/protobuf: remove binutils bug 21464 dependency

 .../0010-bfd-elf32-or1k-fix-ld-assert.patch   |  35 --
 ...ith-plt-link-failure-for-local-calls.patch |  59 +++
 ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 +++++++++
 ...K_GOT16-overflow-failures-in-presenc.patch |  61 +++
 ...ge-plt_relocs-when-generating-plt-en.patch | 500 ++++++++++++++++++
 .../0003-bfd-elf32-or1k-fix-ld-assert.patch   |  35 --
 ...ith-plt-link-failure-for-local-calls.patch |  59 +++
 ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 +++++++++
 ...K_GOT16-overflow-failures-in-presenc.patch |  61 +++
 ...ge-plt_relocs-when-generating-plt-en.patch | 500 ++++++++++++++++++
 .../0003-bfd-elf32-or1k-fix-ld-assert.patch   |  35 --
 ...ith-plt-link-failure-for-local-calls.patch |  59 +++
 ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 +++++++++
 ...K_GOT16-overflow-failures-in-presenc.patch |  61 +++
 ...ge-plt_relocs-when-generating-plt-en.patch | 500 ++++++++++++++++++
 .../0003-bfd-elf32-or1k-fix-ld-assert.patch   |  35 --
 ...ith-plt-link-failure-for-local-calls.patch |  59 +++
 ...elocation-R_OR1K_GOT_AHI16-for-gotha.patch | 256 +++++++++
 ...K_GOT16-overflow-failures-in-presenc.patch |  61 +++
 ...ge-plt_relocs-when-generating-plt-en.patch | 500 ++++++++++++++++++
 ...-mcmodel-option-to-handle-large-GOTs.patch | 200 +++++++
 ...-cmodel-large-when-building-crtstuff.patch |  60 +++
 ...-mcmodel-option-to-handle-large-GOTs.patch | 201 +++++++
 ...-cmodel-large-when-building-crtstuff.patch |  60 +++
 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 -
 30 files changed, 4035 insertions(+), 153 deletions(-)
 delete mode 100644 package/binutils/2.32/0010-bfd-elf32-or1k-fix-ld-assert.patch
 create mode 100644 package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch
 create mode 100644 package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch
 create mode 100644 package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch
 create mode 100644 package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch
 delete mode 100644 package/binutils/2.34/0003-bfd-elf32-or1k-fix-ld-assert.patch
 create mode 100644 package/binutils/2.34/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch
 create mode 100644 package/binutils/2.34/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch
 create mode 100644 package/binutils/2.34/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch
 create mode 100644 package/binutils/2.34/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch
 delete mode 100644 package/binutils/2.35.2/0003-bfd-elf32-or1k-fix-ld-assert.patch
 create mode 100644 package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch
 create mode 100644 package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch
 create mode 100644 package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch
 create mode 100644 package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch
 delete mode 100644 package/binutils/2.36.1/0003-bfd-elf32-or1k-fix-ld-assert.patch
 create mode 100644 package/binutils/2.36.1/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch
 create mode 100644 package/binutils/2.36.1/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch
 create mode 100644 package/binutils/2.36.1/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch
 create mode 100644 package/binutils/2.36.1/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch
 create mode 100644 package/gcc/10.3.0/0002-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch
 create mode 100644 package/gcc/10.3.0/0003-or1k-Use-cmodel-large-when-building-crtstuff.patch
 create mode 100644 package/gcc/9.3.0/0006-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch
 create mode 100644 package/gcc/9.3.0/0007-or1k-Use-cmodel-large-when-building-crtstuff.patch
Signature · 1 line
2.25.1