[Bug binutils/16504] gold: internal error in override_version, at resolve.cc:61 with -flto

2018-04-23 Thread zbyszek at in dot waw.pl
https://sourceware.org/bugzilla/show_bug.cgi?id=16504

--- Comment #4 from Zbigniew Jędrzejewski-Szmek  ---
Bernhard, thanks for fixing the test case. Looks like I pasted only part of the
file.

I don't have binutils-2.30 here yet, but I get the same result with
binutils-2.29.1-20.fc28.x86_64.

-- 
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 gprof/23056] Multiple memory corruption in gprof (binuitils-2.30-15ubuntu1)

2018-04-23 Thread sergej at schumilo dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=23056

--- Comment #4 from Sergej Schumilo  ---
Hi Nick, 

it seems like that your patch has fixed the heap overflow bug (or at least the
POC file does not reproduce the ASAN report anymore). 
I can also confirm that the patch for PR 23055 fixed the global buffer
overflow. 

Cheers,
Sergej

-- 
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 gprof/23056] Multiple memory corruption in gprof (binuitils-2.30-15ubuntu1)

2018-04-23 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23056

--- Comment #5 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=bf82069dce1b1a88560e5d7320342c78372b627e

commit bf82069dce1b1a88560e5d7320342c78372b627e
Author: Nick Clifton 
Date:   Mon Apr 23 12:52:42 2018 +0100

Prevent an illegal memory access in gprof by ensuring that string tables
for aout format files are always zero-terminated.

PR 23056
* aoutx.h (aout_get_external_symbols): Allocate an extra byte at
the end of the string table, and zero it.

-- 
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 gprof/23056] Multiple memory corruption in gprof (binuitils-2.30-15ubuntu1)

2018-04-23 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23056

Nick Clifton  changed:

   What|Removed |Added

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

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

-- 
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 gold/20642] internal error in get_section_contents, at icf.cc:467 with --icf=safe

2018-04-23 Thread Marco.Leise at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=20642

Marco Leise  changed:

   What|Removed |Added

 CC||Marco.Leise at gmx dot de

--- Comment #8 from Marco Leise  ---
I see this error when building ldc2 1.7.0 or 1.8.0 (the Dlang compiler) with
gcc 7.2.0 and binutils 2.29.1 with --ifc=safe when compiling the 32-bit version
(using -DMULTILIB=ON):

/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
internal error in get_section_contents, at
../../binutils-2.29.1/gold/icf.cc:467

Unfortunately this is not a small repro case, only another data point. All
other special linker flags like --gc-sections or --flto do not affect the
outcome.

-- 
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 binutils/23107] New: 'ar t' doesn't display object file offsets

2018-04-23 Thread ant.bikineev at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23107

Bug ID: 23107
   Summary: 'ar t' doesn't display object file offsets
   Product: binutils
   Version: 2.31 (HEAD)
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: ant.bikineev at gmail dot com
  Target Milestone: ---

Created attachment 10972
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10972&action=edit
patch

Hi,

I was looking for a way to display offsets of the object files in an archive
using ar, but apparently there is none the tool provides. I've prepared and
attached a patch that fixes it, yet I'm not sure that offsets should be
displayed in the non-verbose mode.

What do you think?

-- 
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 gold/20642] internal error in get_section_contents, at icf.cc:467 with --icf=safe

2018-04-23 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20642

Cary Coutant  changed:

   What|Removed |Added

 CC||ccoutant at gmail dot com

--- Comment #9 from Cary Coutant  ---
Created attachment 10973
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10973&action=edit
Replaces assert with fatal error providing additional info

If you can, could you please apply this patch to gold, and rerun your failing
build? The additional info in the error message should at least help narrow
down the cause of the problem.

-- 
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 binutils/23109] New: aarch64: opcode wrongly disassembled as sdot

2018-04-23 Thread i-sourceware-org-2018-2p98rzwefkh at rf dot risimo.net
https://sourceware.org/bugzilla/show_bug.cgi?id=23109

Bug ID: 23109
   Summary: aarch64: opcode wrongly disassembled as sdot
   Product: binutils
   Version: 2.30
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: i-sourceware-org-2018-2p98rzwefkh at rf dot risimo.net
  Target Milestone: ---

This is about the opcode 0fbcef26 which is disassembled as sdot.

$ hexdump bin2
000 26 ef bc 0f
004
$ objdump -D -b binary -maarch64 -Mno-aliases bin2

bin2: file format binary


Disassembly of section .data:

 <.data>:
   0:   0fbcef26sdotv6.2s, v25.8b, v28.4b[3]
$

The opcode in question:

 3322  11
 10987654 32109876 54321098 76543210
opcode =  1000 1110 00100110 = 0x08fbcef26

According to the docu I have here the 10th bit should be 0 but it is 1 in the
opcode. Therefore the opcode should be rejected.

-- 
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