This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin + zlib


On 24.02.2017 18:55, NightStrike wrote:
> Currently, to build natively on cygwin, this patch is required to zlib:
> 
> https://github.com/Alexpux/MSYS2-packages/blob/master/zlib/1.2.11-cygwin-no-widechar.patch
> 
> Otherwise, this error occurs:
> 
> ./../zlib/libz.a(libz_a-gzlib.o):gzlib.c:(.text+0x646): undefined
> reference to `_wopen'
> ./../zlib/libz.a(libz_a-gzlib.o):gzlib.c:(.text+0x646): relocation
> truncated to fit: R_X86_64_PC32 against undefined symbol `_wopen'
> 
> 
> Given that cygwin is a supported system, and given that zlib is
> in-tree (and was recently updated), does it make sense to include this
> patch in the gcc in-tree version of zlib?

please could you forward this issue upstream as well?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]