[Bug binutils/12075] New: cross binutils-2.20.51.0.11 doesn't build with zlib-devel-1.2.5.

2010-09-30 Thread pluto at agmk dot net
hi,

i've noticed an error during binutils crosscompilation
on i686-gnu-linux for x86-64-pc-mingw32 target:

(...)
cc1: warnings being treated as errors
compress.c: In function 'bfd_compress_section_contents':
compress.c:106:3: error: passing argument 2 of 'compress' from incompatible 
pointer type
/usr/include/zlib.h:1102:21: note: expected 'uLongf *' but argument is of type 
'bfd_size_type *'

afaics zlib expects address of ulong32 for argument 'compressed_size'
while bfd_compress_section_contents() passes address of bfd_size_type
which has 64-bits.

temporary patch for clean build:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/crossmingw64-binutils/
crossmingw64-binutils-zlib.patch?rev=1.1;content-type=text%2Fplain

-- 
   Summary: cross binutils-2.20.51.0.11 doesn't build with zlib-
devel-1.2.5.
   Product: binutils
   Version: 2.20
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: pluto at agmk dot net
CC: bug-binutils at gnu dot org
 GCC build triplet: i686-gnu-linux
  GCC host triplet: i686-gnu-linux
GCC target triplet: x86_64-pc-mingw32


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

--- 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/12049] Unnecessary relaxation

2010-09-30 Thread hjl dot tools at gmail dot com


-- 
   What|Removed |Added

 CC||hjl dot tools at gmail dot
   ||com


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

--- 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/12049] Unnecessary relaxation

2010-09-30 Thread hjl dot tools at gmail dot com

--- Additional Comments From hjl dot tools at gmail dot com  2010-10-01 
05:30 ---
Please provide a complete testcase.  The final offset
depends on the address of the second jump. I can't tell
what its address is.

-- 
   What|Removed |Added

 Status|NEW |WAITING


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

--- 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/11812] Unused .got.plt section generated by linker

2010-09-30 Thread hjl dot tools at gmail dot com

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-09-24 
06:09 ---
Subject: Bug 11812

CVSROOT:/cvs/src
Module name:src
Changes by: h...@sourceware.org 2010-09-24 06:09:31

Modified files:
ld/testsuite   : ChangeLog 
ld/testsuite/ld-i386: nogot1.s 

Log message:
Remove GOTOFF in ld-i386/nogot1.s.

2010-09-23  H.J. Lu  

PR ld/11812
* ld-i386/nogot1.s: Don't use GOTOFF.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1293&r2=1.1294
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-i386/nogot1.s.diff?cvsroot=src&r1=1.1&r2=1.2


--- Additional Comments From hjl dot tools at gmail dot com  2010-10-01 
05:13 ---
Fixed by


http://sourceware.org/ml/binutils-cvs/2010-10/msg2.html
http://sourceware.org/ml/binutils-cvs/2010-10/msg3.html

-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


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

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