[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/12075] New: cross binutils- doesn't build with

From: pluto at agmk dot net
Subject: [Bug binutils/12075] New: cross binutils- doesn't build with zlib-devel-1.2.5.
Date: 1 Oct 2010 05:35:58 -0000


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:

           Summary: cross binutils- doesn't build with zlib-
           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


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]