bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/12170] New: compress.c compilation fails for x86_64-*-ming


From: sezeroz at gmail dot com
Subject: [Bug binutils/12170] New: compress.c compilation fails for x86_64-*-mingw*
Date: Fri, 29 Oct 2010 18:24:15 +0000

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

           Summary: compress.c compilation fails for x86_64-*-mingw*
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: address@hidden
        ReportedBy: address@hidden


Cross-build of today's snapshot of binutils for x86_64-w64-mingw32 target on a
i686-pc-linux host failed due to -Werror from compress.c:

cc1: warnings being treated as errors
../../binutils-cvs/bfd/compress.c: In function 'bfd_compress_section_contents':
../../binutils-cvs/bfd/compress.c:106: error: passing argument 2 of 'compress'
from incompatible pointer type
/usr/include/zlib.h:1009: note: expected 'uLongf *' but argument is of type
'bfd_size_type *'

uLongf of zlib.h is unsigned long, but bfd_size_type for win64 is unsigned long
long, hence the warning->error. Same snapshot surely compiles for
i686-*-mingw32.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

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