[Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables

2016-08-04 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=20427

--- Comment #9 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=024425668d120663a73913352df701c8f0aea316

commit 024425668d120663a73913352df701c8f0aea316
Author: Stefan Trleman 
Date:   Thu Aug 4 14:57:23 2016 +0100

Fix generation of relocs for 32-bit Sparc Solaris targets.

PR gas/20427
* config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
of 64-bit relocation types when assembling for a 32-bit Solaris
target.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables

2016-08-04 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20427

--- Comment #10 from Nick Clifton  ---
Hi Guys,

  Right - I think that it is now obvious that Stefan's patch is correct, so 
  I have checked it in.  It may be however that the patch does not go far
  enough - there may be other 64-bit relocs that need curtailing - but I am
  going to wait until there is a test that demonstrates the problem and 
  verifies any proposed solution.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/17739] Assertion fail ../../bfd/elf32-sh.c:4504 on sh4 when compiling Qt5

2016-08-04 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17739

--- Comment #23 from cvs-commit at gcc dot gnu.org  ---
The binutils-2_27-branch branch has been updated by Nick Clifton
:

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

commit dccb2ff522d2afba77301a046b37949356c29f88
Author: Nick Clifton 
Date:   Thu Aug 4 16:00:27 2016 +0100

Fix the generation of GOT table entries for the SH in the presence of
linker garbage collection.

PR ld/17739
* emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
ld  valye 'yes'.
* emulparams/shelf32.sh: Likewise.
* emulparams/shelf32.sh: Likewise.
* emulparams/shelf_nto.sh: Likewise.
* emulparams/shelf_nto.sh: Likewise.
* emulparams/shelf_vxworks.sh: Likewise.
* emulparams/shelf_vxworks.sh: Likewise.
* emulparams/shlelf32_linux.sh: Likewise.
* emulparams/shlelf32_linux.sh: Likewise.
* emulparams/shlelf_linux.sh: Likewise.
* emulparams/shlelf_linux.sh: Likewise.
* emulparams/shlelf_nto.sh: Likewise.
* emulparams/shlelf_nto.sh: Likewise.

bfd * elf32-sh.c (sh_elf_gc_sweep_hook): Delete.
(elf_backend_sweep_hook): Delete.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/17739] Assertion fail ../../bfd/elf32-sh.c:4504 on sh4 when compiling Qt5

2016-08-04 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17739

--- Comment #24 from Nick Clifton  ---

(In reply to John Paul Adrian Glaubitz from comment #22)
> Btw, can you make sure this gets backported to binutils-2_27-branch as well?


Sorry - we missed the release window.

I have checked the patch in to the 2.27 branch so that when/if a point release
is made the patch will be present there.

 Cheers
   Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/17739] Assertion fail ../../bfd/elf32-sh.c:4504 on sh4 when compiling Qt5

2016-08-04 Thread glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=17739

--- Comment #25 from John Paul Adrian Glaubitz  ---
(In reply to Nick Clifton from comment #24)
> Sorry - we missed the release window.

Yeah, 2.27 came quite unexpected. I knew it was announced for a while but I was
expecting a much later release.

> I have checked the patch in to the 2.27 branch so that when/if a point
> release
> is made the patch will be present there.

That's still a good thing since Debian usually adds the latest branch updates
to the releases of gcc and binutils, so hopefully this will be available soon.

Thanks,
Adrian

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/20436] New: Testsuite ld-plugin/lto.exp fails

2016-08-04 Thread jb999 at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=20436

Bug ID: 20436
   Summary: Testsuite ld-plugin/lto.exp fails
   Product: binutils
   Version: 2.27
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: jb999 at gmx dot de
  Target Milestone: ---

The testsuite of 2.27 fails (2.26.1 was OK):

Running /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto.exp ...
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-1a.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-1b.c: compilation failed
FAIL: LTO 1
FAIL: LTO 1
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-2.c: compilation failed
FAIL: LTO 2
FAIL: LTO 2
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-3a.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-3b.c: compilation failed
FAIL: Build liblto-3.a
FAIL: Build liblto-3.a
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-5a.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-5b.c: compilation failed
FAIL: LTO 6
FAIL: LTO 6
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr12365a.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr12365b.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr12365c.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-9.cc: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-11a.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-11b.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-12c.c: compilation failed
FAIL: Build liblto-12.a
FAIL: Build liblto-12.a
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-12a.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-12b.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-13a.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-13b.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-14a.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-14b.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-14c.c: compilation failed
FAIL: Build liblto-14.a
FAIL: Build liblto-14.a
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-15a.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-15b.c: compilation failed
FAIL: Build liblto-15.a
FAIL: Build liblto-15.a
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr12696-1.cc: compilation
failed
FAIL: PR ld/12696
FAIL: PR ld/12696
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr12758b.c: compilation failed
FAIL: Build libpr12758.a
FAIL: Build libpr12758.a
FAIL: PR ld/12758
FAIL: PR ld/12758
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr12760b.c: compilation failed
FAIL: Build libpr12760.a
FAIL: Build libpr12760.a
FAIL: PR ld/12760
FAIL: PR ld/12760
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr13183a.c: compilation failed
FAIL: Build libpr13183.a
FAIL: Build libpr13183.a
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr13183b.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr13201.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr13287.cc: compilation failed
FAIL: PR ld/13287
FAIL: PR ld/13287
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr15323a.c: compilation failed
FAIL: PR ld/15323 (2)
FAIL: PR ld/15323 (2)
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr16846a.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr16846b.c: compilation failed
FAIL: PR ld/pr16846(1)
FAIL: PR ld/pr16846(1)
FAIL: PR ld/pr16846(2)
FAIL: PR ld/pr16846(2)
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr19317.c: compilation failed
FAIL: PR ld/19317 (1)
FAIL: PR ld/19317 (1)
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr20276b.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr20267b.c: compilation failed
FAIL: Build libpr20267a.a
FAIL: Build libpr20267a.a
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr20267b.c: compilation failed
FAIL: Build libpr20267b.a
FAIL: Build libpr20267b.a
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr12942a.cc: compilation
failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/pr12942c.cc: compilation
failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-7a.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-7b.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-7c.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-8b.c: compilation failed
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-17a.c: compilation failed
FAIL: Build liblto-17a.so
FAIL: Build liblto-17a.so
ERROR: /tmp/binutils-2.27/ld/testsuite/ld-plugin/lto-17b.c: compilation failed
FAIL: Build liblto-17b.s