[Bug binutils/10165] windres crashes when processing resource files with UTF-8 (cp 65001) encoding.

2009-06-09 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-06-09 15:16 
---
Hi Tom,

  Thanks for reporting this bug and supplying a patch to fix it.

  I have checked in your patch along with the changelog entry below.

Cheers
  Nick

binutils/ChangeLog
2009-06-09  Tom Bramer  

PR 10165
* winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

--- 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/10165] windres crashes when processing resource files with UTF-8 (cp 65001) encoding.

2009-06-09 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-06-09 
15:14 ---
Subject: Bug 10165

CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2009-06-09 15:14:23

Modified files:
binutils   : ChangeLog winduni.c 

Log message:
PR 10165
* winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1479&r2=1.1480
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/winduni.c.diff?cvsroot=src&r1=1.12&r2=1.13



-- 


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

--- 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 gas/10255] no .eh_frame_hdr table will be created.

2009-06-09 Thread jakub at redhat dot com


-- 
   What|Removed |Added

 AssignedTo|unassigned at sources dot   |jakub at redhat dot com
   |redhat dot com  |
 Status|NEW |ASSIGNED
  Component|ld  |gas


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

--- 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/10255] no .eh_frame_hdr table will be created.

2009-06-09 Thread jakub at redhat dot com

--- Additional Comments From jakub at redhat dot com  2009-06-09 11:48 
---
Small testcase:
.text
.cfi_startproc
.skip 16
.cfi_def_cfa 0, 16
.skip 75031
.cfi_def_cfa 0, 64
.cfi_endproc


-- 


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

--- 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/10255] no .eh_frame_hdr table will be created.

2009-06-09 Thread jakub at redhat dot com

--- Additional Comments From jakub at redhat dot com  2009-06-09 11:43 
---
Created an attachment (id=3988)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3988&action=view)
z2.s.bz2

This looks like a gas bug to me.  At least from brief look at .cfi_* directives
in the assembly they look ok, but after assembling we see:
0044 002c 0048 FDE cie= pc=339f..00016d6a
  DW_CFA_advance_loc: 1 to 33a0
  DW_CFA_def_cfa_offset: 16
  DW_CFA_advance_loc: 3 to 33a3
  DW_CFA_offset: r6 (rbp) at cfa-16
  DW_CFA_def_cfa_register: r6 (rbp)
  DW_CFA_advance_loc2: 332 to 34ef
  DW_CFA_offset: r3 (rbx) at cfa-56
  DW_CFA_offset: r12 (r12) at cfa-48
  DW_CFA_offset: r13 (r13) at cfa-40
  DW_CFA_offset: r14 (r14) at cfa-32
  DW_CFA_offset: r15 (r15) at cfa-24
  DW_CFA_nop
  DW_CFA_advance_loc: 58 to 3529
  DW_CFA_??? (User defined call frame op: 0x38)
in the second FDE.  I guess gas just doesn't handle the huge location advance
well (from 34ef to 16d69).  Looking into it...

-- 


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

--- 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/10255] New: no .eh_frame_hdr table will be created.

2009-06-09 Thread Joost dot VandeVondele at pci dot uzh dot ch
as discussed in the gcc bugzilla, linking a recent version of cp2k with trunk
gcc produces an number of unexpected errors:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40332

this happens with older and more recent (2.19.1) ld. 

http://www.pci.uzh.ch/vandevondele/tmp/PR40332.tgz

contains the relevant object files and libraries, plus a README that provides
the exact command line I use

-- 
   Summary: no .eh_frame_hdr table will be created.
   Product: binutils
   Version: 2.19
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: Joost dot VandeVondele at pci dot uzh dot ch
CC: bug-binutils at gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu


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

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