[Bug ld/11933] Differnt linker behavior with incompatible input files

2010-08-21 Thread hjl dot tools at gmail dot com

--- Additional Comments From hjl dot tools at gmail dot com  2010-08-21 
18:53 ---
A patch is posted at

http://sourceware.org/ml/binutils/2010-08/msg00274.html

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11933

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/11937] New: ld --build-id crash with non-ELF input

2010-08-21 Thread hjl dot tools at gmail dot com
ld --build-id may crash with non-ELF input.

-- 
   Summary: ld --build-id crash with non-ELF input
   Product: binutils
   Version: 2.21 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl dot tools at gmail dot com
CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11937

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/11937] ld --build-id crash with non-ELF input

2010-08-21 Thread hjl dot tools at gmail dot com

--- Additional Comments From hjl dot tools at gmail dot com  2010-08-21 
19:07 ---
Created an attachment (id=4946)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4946&action=view)
A testcase

[...@gnu-6 build-id]$ make
gcc -B./ -m32   -c -o y.o y.c
./ld -m elf_i386 --build-id -o foo  pe.o y.o
make: *** [foo] Segmentation fault
make: *** Deleting file `foo'
[...@gnu-6 build-id]$ 

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11937

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/11938] New: Support for linking with Solaris libraries is only enabled on SPARC!

2010-08-21 Thread andyjstormont at googlemail dot com
Hi,

First of all I would like to say thanks a lot for finally getting support for
SHF_ORDERED, SHF_EXCLUDE, SHN_BEFORE and SHN_AFTER included so that binutils can
link correctly with the funky libs in Solaris 10 and OpenSolaris.  There is one
slight problem though: This is only enabled on SPARC.

If you could remove the switch-case blocks that check for EM_SPARC*
(binutils/readelf.c, bfd/elf.c, bfd/elfcode.h) and replace them just a simple
#ifdef __sun, #endif, that would probably fix the problem.

The changes are simple enough but if you want me to come up with a patch just 
ask.

-- 
   Summary: Support for linking with Solaris libraries is only
enabled on SPARC!
   Product: binutils
   Version: 2.20
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: andyjstormont at googlemail dot com
CC: bug-binutils at gnu dot org
 GCC build triplet: i386-pc-solaris2.11
  GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11


http://sourceware.org/bugzilla/show_bug.cgi?id=11938

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/6431] ld says: invalid version 3 (max 0)

2010-08-21 Thread andyjstormont at googlemail dot com

--- Additional Comments From andyjstormont at googlemail dot com  
2010-08-21 20:56 ---
This problem is not SPARC specific. I see it on i386-pc-solaris2.11.  I also
suspect that it is not Solaris specific either as it seems to be caused by
filter symbols not being interpreted correctly by binutils.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6431

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/2524] Solaris versioning glitches when building shared libraries against static ones

2010-08-21 Thread andyjstormont at googlemail dot com

--- Additional Comments From andyjstormont at googlemail dot com  
2010-08-21 20:59 ---
*** Bug 6431 has been marked as a duplicate of this bug. ***

-- 
   What|Removed |Added

 CC||niki dot waibel at gmx dot
   ||net


http://sourceware.org/bugzilla/show_bug.cgi?id=2524

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/6431] ld says: invalid version 3 (max 0)

2010-08-21 Thread andyjstormont at googlemail dot com

--- Additional Comments From andyjstormont at googlemail dot com  
2010-08-21 20:59 ---


*** This bug has been marked as a duplicate of 2524 ***

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


http://sourceware.org/bugzilla/show_bug.cgi?id=6431

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils