[Bug ld/25205] relocation truncated to fit: R_RISCV_JAL against undefined symbol `pthread_once'

2020-01-06 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25205

Jim Wilson  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Assignee|unassigned at sourceware dot org   |wilson at gcc dot 
gnu.org

--- Comment #11 from Jim Wilson  ---
Fixed on mainline.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/25205] relocation truncated to fit: R_RISCV_JAL against undefined symbol `pthread_once'

2020-01-06 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25205

--- Comment #10 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Jim Wilson :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=85f783647061e58968ecdc516137d8df9f2d5e16

commit 85f783647061e58968ecdc516137d8df9f2d5e16
Author: Jim Wilson 
Date:   Mon Jan 6 15:34:50 2020 -0800

RISC-V: Fix weak function call reloc overflow on llvm build.

bfd/
PR 25205
* elfnn-riscv.c (riscv_elf_relocate_section) : Add
check for !bfd_link_pic (info).
: Move next to R_RISCV_CALL.
: Add comment.
(_bfd_riscv_relax_section): For plt.offset check, add check for
bfd_link_pic (info).  Add comment.

Change-Id: Ie769bc3d5adf096a51df5cc12efe3d50e80acb8f

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25235] Forward-referencing ADR instructions generate wrong offsets in Thumb code

2020-01-06 Thread tnfchris at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25235

Tamar Christina  changed:

   What|Removed |Added

 Target||arm-*
   Target Milestone|--- |2.33

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/25327] FAIL: Run pr20276

2020-01-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25327

Nick Clifton  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Nick Clifton  ---
Hi Dave,

  Right - I have gone ahead and built my own gcc-10 compiler, built
  a toolchain with it, and then run the linker testsuite.  Sure enough
  I encountered the failures that you have mentioned.  So I add some
  more "-fcommon" options to the linker tests, (possibly too many, but
  the extras should not hurt), and verified that the results should
  now be correct.  At least for the x86_64-linux-gnu target

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/25327] FAIL: Run pr20276

2020-01-06 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25327

--- Comment #6 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0e1f1593bc441863d0e5dc586ca3dd8945d36782

commit 0e1f1593bc441863d0e5dc586ca3dd8945d36782
Author: Nick Clifton 
Date:   Mon Jan 6 16:24:23 2020 +

Add -fcommon compiler command line option to linker tests that need common
symbols.

PR 25327
* testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
command line when building libcomm1.o and pr13250 tests.
* testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/25326] FAIL: Run pr19579

2020-01-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25326

Nick Clifton  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Nick Clifton  ---
Patch applied.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/25326] FAIL: Run pr19579

2020-01-06 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25326

--- Comment #3 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d2dbcb18c6a44595a2034aa73a1ad7b60df114d3

commit d2dbcb18c6a44595a2034aa73a1ad7b60df114d3
Author: Nick Clifton 
Date:   Mon Jan 6 14:00:34 2020 +

Fix test of the fix for PR19579 when compiling with gcc-10.

PR 25326
* testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
command line when building pr19579 binaries.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/25316] ia64 ld fails to convert binary into elf: "failed to merge target specific data"

2020-01-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25316

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |FIXED

--- Comment #5 from Alan Modra  ---
Fixed

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/25327] FAIL: Run pr20276

2020-01-06 Thread dave.anglin at bell dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=25327

--- Comment #5 from dave.anglin at bell dot net ---
On 2020-01-06 5:14 a.m., nickc at redhat dot com wrote:
> Is it possible that different versions of gcc are being used for the failing
> and passing versions of the tests ?
That's it.  The fails are with gcc-10 experimental.  The tests pass with Debian
gcc-9.

Dave

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug binutils/25344] z80 disassembler recursion

2020-01-06 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25344

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |2.34

--- Comment #5 from Alan Modra  ---
Fixed (without the change in comment #3).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug binutils/25344] z80 disassembler recursion

2020-01-06 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25344

--- Comment #4 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Alan Modra :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=660e62b1d9ca02e4ec7b18e8f0a0ff0707e540ac

commit 660e62b1d9ca02e4ec7b18e8f0a0ff0707e540ac
Author: Alan Modra 
Date:   Mon Jan 6 08:52:39 2020 +1030

PR25344, z80 disassembler recursion

PR 25344
* z80-dis.c (suffix): Don't use a local struct buffer copy.
Peek at next byte to prevent recursion on repeated prefix bytes.
Ensure uninitialised "mybuf" is not accessed.
(print_insn_z80): Don't zero n_fetch and n_used here,..
(print_insn_z80_buf): ..do it here instead.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/25327] FAIL: Run pr20276

2020-01-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25327

--- Comment #4 from Nick Clifton  ---
(In reply to dave.anglin from comment #3)
Hi Dave,

> There's something wierd going on.  I did a full build and check with patches
> for ld/25326 and ld/25327
> and the following teats failed:
> 
> FAIL: Run with libfunc1.so comm1.o
> FAIL: Run pr20267a
> FAIL: Run pr20267b
> 
> I then reran the testsuite and these tests didn't fail.  In my first check,
> I just reran testsuite with patches.

OK - that is strange.  Do you still have the ld.log file for the failing tests
?  If so, please can you inspect it and see if the "-fcommon" option added by
the patch is present on the command lines used to build pr20267a and pr20267b ?

Is it possible that different versions of gcc are being used for the failing
and passing versions of the tests ?

Uh - not sure how else this could happen... :-(

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/25235] Forward-referencing ADR instructions generate wrong offsets in Thumb code

2020-01-06 Thread tnfchris at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25235

Tamar Christina  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2020-01-06
 CC||tnfchris at sourceware dot org
   Assignee|unassigned at sourceware dot org   |tnfchris at sourceware 
dot org
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are on the CC list for the bug.