[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/12075] New: cross binutils-2.20.51.0.11 doesn't build with
From: |
pluto at agmk dot net |
Subject: |
[Bug binutils/12075] New: cross binutils-2.20.51.0.11 doesn't build with zlib-devel-1.2.5. |
Date: |
1 Oct 2010 05:35:58 -0000 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/12075] New: cross binutils-2.20.51.0.11 doesn't build with zlib-devel-1.2.5.,
pluto at agmk dot net <=