[Bug ld/5604] ld crash during eh-frame parsing

2008-01-13 Thread schwab at suse dot de

--- Additional Comments From schwab at suse dot de  2008-01-13 12:00 ---
Created an attachment (id=2195)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2195&action=view)
Testcase


-- 


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

--- 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/5604] ld crash during eh-frame parsing

2008-01-13 Thread schwab at suse dot de

--- Additional Comments From schwab at suse dot de  2008-01-13 12:00 ---
Created an attachment (id=2196)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2196&action=view)
Testcase


-- 


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

--- 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/5604] ld crash during eh-frame parsing

2008-01-13 Thread schwab at suse dot de

--- Additional Comments From schwab at suse dot de  2008-01-13 12:01 ---
Created an attachment (id=2197)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2197&action=view)
Testcase


-- 


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

--- 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/5604] New: ld crash during eh-frame parsing

2008-01-13 Thread schwab at suse dot de
The linker crashes during eh-frame parsing on ppc64.  The bug was introduced by 
this change:

2007-12-15  Richard Sandiford  <[EMAIL PROTECTED]>

* elf-bfd.h (eh_cie_fde): Add u.fde.next_for_section and
u.cie.gc_mark.
(bfd_elf_section_data): Add fde_list.
(elf_fde_list): New macro.
(elf_obj_tdata): Add eh_frame_section.
(elf_eh_frame_section): New macro.
(_bfd_elf_gc_mark_reloc): Remove last parameter.
(_bfd_elf_gc_mark_fdes): Declare.
* elf-eh-frame.c (_bfd_elf_get_eh_frame_sec_info): Chain the FDEs
for each input section.
(mark_entry, _bfd_elf_gc_mark_fdes): New functions.
* elflink.c (_bfd_elf_gc_mark_reloc): Remove is_eh parameter.
(_bfd_elf_gc_mark): Update call accordingly.  Mark the relocations
againts the section's FDEs.  Don't mark the bfd's elf_eh_frame_section.
(bfd_elf_gc_sections): Parse each input bfd's .eh_frame before
marking any input sections.  Remove the current EH handling.
* section.c (bfd_section): Remove gc_mark_from_eh.
* ecoff.c (bfd_debug_section): Update initializer accordingly.

The most likely candidate is the change in bfd_elf_gc_sections.

-- 
   Summary: ld crash during eh-frame parsing
   Product: binutils
   Version: 2.19 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: schwab at suse dot de
CC: amodra at bigpond dot net dot au,bug-binutils at gnu dot
org,rsandifo at sourceware dot org
GCC target triplet: powerpc64-linux


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

--- 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/5606] New: recognition for x86_64-pc-solaris2.10 target

2008-01-13 Thread grobian at gentoo dot org
Using the patch that I will attach next, I added support for
x86_64-pc-solaris2.10 as target.  I based the patch on the
sparcv9-sun-solaris2.* case.  The patch allows me to have a full 64-bits
environment (toolchain, userland).  So far I haven't found any problems.

-- 
   Summary: recognition for x86_64-pc-solaris2.10 target
   Product: binutils
   Version: 2.18
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: grobian at gentoo dot org
CC: bug-binutils at gnu dot org
 GCC build triplet: i386-pc-solaris2.10
  GCC host triplet: i386-pc-solaris2.10
GCC target triplet: x86_64-pc-solaris2.10


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

--- 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/5606] recognition for x86_64-pc-solaris2.10 target

2008-01-13 Thread grobian at gentoo dot org

--- Additional Comments From grobian at gentoo dot org  2008-01-13 19:40 
---
Created an attachment (id=2198)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2198&action=view)
x86_64-pc-solaris2 target recognition


-- 


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

--- 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/5529] windres rejects paths in rc files

2008-01-13 Thread Henry at BigFoot dot de

--- Additional Comments From Henry at BigFoot dot de  2008-01-13 21:50 
---
Similar problems on a Linux host with target mingw32.
A simple workarrount is to use "Quotes" for filename.

2 ICON foo-bar.ico
This line in rc file failed in binutils 2.18.50 with message
i686-pc-mingw32-windres: can't open icon file `foo': No such file or directory

2 ICON "foo-bar.ico"
Worked without patch

I Mean your hack would not work all times.
What is with '-' in filenames or utf8?

-- 


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

--- 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/5529] windres rejects paths in rc files

2008-01-13 Thread Henry at BigFoot dot de

--- Additional Comments From Henry at BigFoot dot de  2008-01-13 22:04 
---
(In reply to comment #2)
> 2 ICON foo-bar.ico
> This line in rc file failed in binutils 2.18.50 with message
> i686-pc-mingw32-windres: can't open icon file `foo': No such file or directory

binutils 2.18.50-20071229 was used for the line above.


-- 


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

--- 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/5529] windres rejects paths in rc files

2008-01-13 Thread Henry at BigFoot dot de

--- Additional Comments From Henry at BigFoot dot de  2008-01-13 22:17 
---
(In reply to comment #3)
> (In reply to comment #2)
> > 2 ICON foo-bar.ico
> > This line in rc file failed in binutils 2.18.50 with message
> > i686-pc-mingw32-windres: can't open icon file `foo': No such file

Sorry for confusing.
binutils-2.18.50-20080109 was used


-- 


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

--- 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/5604] ld crash during eh-frame parsing

2008-01-13 Thread amodra at bigpond dot net dot au


-- 
   What|Removed |Added

 AssignedTo|unassigned at sources dot   |amodra at bigpond dot net
   |redhat dot com  |dot au


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

--- 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/5604] ld crash during eh-frame parsing

2008-01-13 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2008-01-14 
06:27 ---
Looking..

-- 
   What|Removed |Added

 Status|NEW |ASSIGNED
   Last reconfirmed|-00-00 00:00:00 |2008-01-14 06:27:33
   date||


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

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