public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Cygwin + zlib
@ 2017-02-24 17:55 NightStrike
  2017-02-25  0:10 ` Matthias Klose
  2017-03-11  6:30 ` Daniel Santos
  0 siblings, 2 replies; 3+ messages in thread
From: NightStrike @ 2017-02-24 17:55 UTC (permalink / raw)
  To: gcc

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-11  6:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-24 17:55 Cygwin + zlib NightStrike
2017-02-25  0:10 ` Matthias Klose
2017-03-11  6:30 ` Daniel Santos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).