[Bug ld/28735] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2022-02-02 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28735 Stafford Horne changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ld/28735] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2022-01-01 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28735 --- Comment #2 from Stafford Horne --- Posted patch: https://sourceware.org/pipermail/binutils/2022-January/119078.html -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/28735] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2022-01-01 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28735 Stafford Horne changed: What|Removed |Added Depends on||21464 Referenced Bugs: https://sou

[Bug ld/21464] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7

2022-01-01 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21464 Stafford Horne changed: What|Removed |Added Blocks||28735 Referenced Bugs: https://sou

[Bug ld/28735] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2022-01-01 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28735 Stafford Horne changed: What|Removed |Added Assignee|unassigned at sourceware dot org |shorne at sourceware dot org

[Bug ld/28735] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2022-01-01 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28735 --- Comment #1 from Stafford Horne --- The issue is the the relation has the 16-bit sign bit set. So even though we are masking out upper bits to try to avoid overflow we still get an error for signed overflow. -- You are receiving this mai

[Bug ld/28735] New: relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2022-01-01 Thread shorne at sourceware dot org
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: shorne at sourceware dot org Target Milestone: --- This is related to 21464, the original fix was not sufficient. Creating this binutils filing as a copy of the gcc bug: https

[Bug ld/21464] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7

2021-05-06 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21464 Stafford Horne changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ld/21464] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7

2021-05-06 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21464 Bug 21464 depends on bug 27746, which changed state. Bug 27746 Summary: or1k bfd overflow in plt reloc argument https://sourceware.org/bugzilla/show_bug.cgi?id=27746 What|Removed |Added --

[Bug binutils/27746] or1k bfd overflow in plt reloc argument

2021-05-06 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27746 Stafford Horne changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug ld/27624] OpenRisc BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377

2021-05-06 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27624 Stafford Horne changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ld/21464] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7

2021-04-16 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21464 Stafford Horne changed: What|Removed |Added Depends on||27746 Referenced Bugs: https://sou

[Bug binutils/27746] or1k bfd overflow in plt reloc argument

2021-04-16 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27746 Stafford Horne changed: What|Removed |Added Blocks||21464 Referenced Bugs: https://sou

[Bug binutils/27746] or1k bfd overflow in plt reloc argument

2021-04-16 Thread shorne at sourceware dot org
|unassigned at sourceware dot org |shorne at sourceware dot org -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/27746] New: or1k bfd overflow in plt reloc argument

2021-04-16 Thread shorne at sourceware dot org
: binutils Assignee: unassigned at sourceware dot org Reporter: shorne at sourceware dot org Target Milestone: --- Related to 21464 When generating PLT entries the or1k bfd implementation will silently overflow the PLT argument to _dl_fixup causing a crash at runtime. This was

[Bug ld/27652] OpenRISC: PLT got offset overflow in big binaries

2021-03-25 Thread shorne at sourceware dot org
||giulio.benetti@micronovasrl ||.com, shorne at sourceware dot org Assignee|unassigned at sourceware dot org |shorne at sourceware dot org -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/27652] New: OpenRISC: PLT got offset overflow in big binaries

2021-03-25 Thread shorne at sourceware dot org
Component: ld Assignee: unassigned at sourceware dot org Reporter: shorne at sourceware dot org Target Milestone: --- As discussed in Bug 21464 When creating the PLT in or1k_elf_finish_dynamic_symbol the plt_reloc address may have a 16-bit overflow in the l.ori instruction the

[Bug ld/21464] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7

2021-03-25 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21464 --- Comment #20 from Stafford Horne --- Sure, I will open an issue in GCC there for the R_OR1K_GOT16 truncation issue. I had a look at other architectures they have the ability to pass an argument -mcmodel=large or -mxgot to generate code tha

[Bug ld/21464] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7

2021-03-24 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21464 --- Comment #18 from Stafford Horne --- I confirm, when building with libgeos as you described I also see the familiar R_OR1K_GOT16 truncation issue. I did some investigation, some points - In an earlier comment I mentioned the runtime PLT

[Bug ld/21464] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7

2021-03-22 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21464 --- Comment #16 from Stafford Horne --- (In reply to Giulio Benetti from comment #14) > Il 23/03/2021 00:36, shorne at sourceware dot org ha scritto: > > https://sourceware.org/bugzilla/show_bug.cgi?id=21464 > > Hi Stafford

[Bug ld/21464] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7

2021-03-22 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21464 --- Comment #15 from Stafford Horne --- (In reply to Stafford Horne from comment #13) > /home/shorne/work/gnu-toolchain/local/lib/gcc/or1k-smh-linux-gnu/11.0.0/../.. > /../../or1k-smh-linux-gnu/bin/ld: > CMakeFiles/geos.dir/src/index/strtree/S

[Bug ld/21464] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7

2021-03-22 Thread shorne at sourceware dot org
sourceware dot org |shorne at sourceware dot org Last reconfirmed||2021-03-22 Status|UNCONFIRMED |ASSIGNED --- Comment #13 from Stafford Horne --- Hi Giulio, What issue are you seeing for geos, I am wondering if it is also something

[Bug ld/27624] OpenRisc BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377

2021-03-22 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27624 Stafford Horne changed: What|Removed |Added Assignee|unassigned at sourceware dot org |shorne at sourceware dot org

[Bug ld/27624] OpenRisc BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377

2021-03-22 Thread shorne at sourceware dot org
||shorne at sourceware dot org Target||or1k-*-* Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2021-03-22 --- Comment #1 from Stafford Horne --- I confirm this is an issue, I will

[Bug gas/25184] or1k gas errors on any backwards jump on 32-bit host

2020-05-19 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25184 Stafford Horne changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ld/21464] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, when linking libQtGui.so.4.8.7

2019-12-02 Thread shorne at sourceware dot org
||shorne at sourceware dot org -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/20475] Linking PIC executables with a linker script that does not place _GLOBAL_OFFSET_TABLE_ results in incorrect relocation

2019-12-02 Thread shorne at sourceware dot org
||shorne at sourceware dot org -- You are receiving this mail because: You are on the CC list for the bug.

[Bug gas/25184] or1k gas errors on any backwards jump on 32-bit host

2019-12-02 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25184 Stafford Horne changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug gas/25184] or1k gas errors on any backwards jump on 32-bit host

2019-12-02 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25184 Stafford Horne changed: What|Removed |Added Assignee|unassigned at sourceware dot org |shorne at gmail dot com -- Y

[Bug gas/25184] or1k gas errors on any backwards jump on 32-bit host

2019-12-02 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25184 Stafford Horne changed: What|Removed |Added Assignee|shorne at sourceware dot org |unassigned at sourceware dot

[Bug gas/25184] or1k gas errors on any backwards jump on 32-bit host

2019-12-02 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25184 Stafford Horne changed: What|Removed |Added Assignee|unassigned at sourceware dot org |shorne at sourceware dot org

[Bug gas/25184] or1k gas errors on any backwards jump on 32-bit host

2019-12-02 Thread shorne at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25184 Stafford Horne changed: What|Removed |Added CC||shorne at sourceware dot org