[Bug gold/19823] gold produces copy reloc of protected symbols

2016-03-31 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19823

--- Comment #7 from Cary Coutant  ---
Created attachment 9146
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9146&action=edit
Patch to disallow copy relocations to protected symbols

Here's a gold patch to fix the problem. I'm out of town for the next few days,
so I don't want to "commit&run", so I'll commit this when I return next week.

-- 
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/19886] PR17287 --as-needed regression

2016-03-31 Thread glebfm at altlinux dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19886

Gleb Fotengauer-Malinovskiy  changed:

   What|Removed |Added

 CC||amodra at gmail dot com

-- 
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/19248] assertion fail cofflink.c:264

2016-03-31 Thread bjbatten at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19248

Bryan Batten  changed:

   What|Removed |Added

 CC||bjbatten at acm dot org

--- Comment #4 from Bryan Batten  ---
Attempting to compile a program on my Cygwin-64 installation fails with the
following error:

[16] bryan: make BINARY=1
CC multest.c
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core
dumped
compilation terminated.
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/../../../../x86_64-pc-cygwin/bin/ld: BFD
(GNU Binutils) 2.25.2 assertion fail
/cygdrive/i/szsz/tmpp/cygwin64/binutils/binutils-2.25-4.x86_64/src/binutils-gdb/bfd/cofflink.c:264
Makefile:46: recipe for target 'multest' failed
make: *** [multest] Error 1

This program compiles without error or warning, and the resulting executable
runs correctly, on my 64 bit linux system - currently 4.4.6.

The program is example code from an eval package. To download and build it,
go to:

http://www.embeddedcodesource.com/codesnippet/s16math

and click the download link.

Once downloaded and unpacked,

> cd ./eval/examples/x86
> make (or make BINARY=1)

to reproduce the problem.

Hope this helps. Thanks.

-- 
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/19872] nm and probably addr2line can't handle binaries produced with gold --incremental

2016-03-31 Thread britton.kerin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19872

--- Comment #4 from Britton Kerin  ---
It makes the warnings go away.  Caveats:

* My use case at the moment isn't that much more extensive than the test case I
provided.

* I haven't tested if this fixes things for addr2line (if it's meant to).  Cary
seemed to think the same issue would apply there.

* The patch doesn't look like it's doing what Cary thought would be needed at
the end of his comment.

-- 
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/19872] nm and probably addr2line can't handle binaries produced with gold --incremental

2016-03-31 Thread britton.kerin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19872

--- Comment #5 from Britton Kerin  ---
I asked Cary to take a look at this bug, and he said:

> It's ok for now, but it'll take a bit more to really support incremental 
> linking. I'll try to work on it sometime.

-- 
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/19896] New: Segmentation fault on bad input

2016-03-31 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19896

Bug ID: 19896
   Summary: Segmentation fault on bad input
   Product: binutils
   Version: 2.27 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: hjl.tools at gmail dot com
  Target Milestone: ---
Target: x86-64

[hjl@gnu-6 tmp]$ cat foo.s
.globl mempcpy
.type mempcpy,@function
mempcpy:
.cfi_startproc
 jmp foo
.cfi_endproc
.size mempcpy,.-mempcpy
mempcpy = __mempcpy
.globl __GI_mempcpy
.set __GI_mempcpy,mempcpy
[hjl@gnu-6 tmp]$ as -o foo.o foo.s
foo.s: Assembler messages:
foo.s:8: Error: symbol `mempcpy' is already defined
Segmentation fault
[hjl@gnu-6 tmp]$

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