-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cywgin64 build broken under Windows 7 #238
Comments
That patch is insufficient, please use the following instead: https://github.com/cygwinports/zlib/blob/master/1.2.11-gzopen_w.patch |
Doesn't taking it out of zlib.def make it unavailable in the Windows DLL? That function is there only for Windows. |
@madler sorry, you are correct about that part; I guess we'll just have to continue carrying that patch. But zlib.h should also be patched to not declare the function. |
maybe what could happen is the makefile can check if I am not so good with makefiles though so, I cannot propose an patch to it myself. But that is an idea so you guys do not have to carry your own patch. I am still Waiting for Linus Torwalds to update his linux kernel to use the latest zlib as well (with some modifications to work for the linux kernel needs) maybe updating it's zlib from an monkey patched v1.2.3 could help fix some issues like unexplained data corruption in things. |
You seem to be confusing C preprocessor macros with environment variables. A plausible option would be to add a second .def file for Cygwin without gzopen_w, and then define a (e.g.) DEFFILE=win32/zlib.def variable defined in and used throughout Makefile.gcc, which I could then override on the make command-line (as I already do with SHAREDLIB). |
I rolled out a different patch in particular. let me know if it fixes stuff. |
That would cause gzopen_w to not be exported in a MinGW build either. |
pull requests through Travis CI and Appveyor. Fix cygwin build issues. Recommend everyone use cmake to generate build environments, and consider checked-in projects or makefiles to be deprecated. The generated build will always be correct, and proven by CI. This fixes madler#162 This fixes madler#238 This fixes madler#307
pull requests through Travis CI and Appveyor. Fix cygwin build issues. Recommend everyone use cmake to generate build environments, and consider checked-in projects or makefiles to be deprecated. The generated build will always be correct, and proven by CI. This fixes madler#162 This fixes madler#238 This fixes madler#307
pull requests through Travis CI and Appveyor. Fix cygwin build issues. Recommend everyone use cmake to generate build environments, and consider checked-in projects or makefiles to be deprecated. The generated build will always be correct, and proven by CI. This fixes madler#162 This fixes madler#238 This fixes madler#307
pull requests through Travis CI and Appveyor. Fix cygwin build issues. Recommend everyone use cmake to generate build environments, and consider checked-in projects or makefiles to be deprecated. The generated build will always be correct, and proven by CI. This fixes madler#162 This fixes madler#238 This fixes madler#307
pull requests through Travis CI and Appveyor. Fix cygwin build issues. Recommend everyone use cmake to generate build environments, and consider checked-in projects or makefiles to be deprecated. The generated build will always be correct, and proven by CI. This fixes madler#162 This fixes madler#238 This fixes madler#307
pull requests through Travis CI and Appveyor. Fix cygwin build issues. Recommend everyone use cmake to generate build environments, and consider checked-in projects or makefiles to be deprecated. The generated build will always be correct, and proven by CI. This fixes madler#162 This fixes madler#238 This fixes madler#307
pull requests through Travis CI and Appveyor. Fix cygwin build issues. Recommend everyone use cmake to generate build environments, and consider checked-in projects or makefiles to be deprecated. The generated build will always be correct, and proven by CI. This fixes madler#162 This fixes madler#238 This fixes madler#307
pull requests through Travis CI and Appveyor. Fix cygwin build issues. Recommend everyone use cmake to generate build environments, and consider checked-in projects or makefiles to be deprecated. The generated build will always be correct, and proven by CI. This fixes madler#162 This fixes madler#238 This fixes madler#307
pull requests through Travis CI and Appveyor. Fix cygwin build issues. Recommend everyone use cmake to generate build environments, and consider checked-in projects or makefiles to be deprecated. The generated build will always be correct, and proven by CI. This fixes madler#162 This fixes madler#238 This fixes madler#307
pull requests through Travis CI and Appveyor. Fix cygwin build issues. Recommend everyone use cmake to generate build environments, and consider checked-in projects or makefiles to be deprecated. The generated build will always be correct, and proven by CI. This fixes madler#162 This fixes madler#238 This fixes madler#307
pull requests through Travis CI and Appveyor using cmake to generate and build the project. The following targets are built: Travis: - gcc (Debug, RelWithDebInfo, and Release) - valgrind (Debug) - ubsan (Debug) Appveyor: - Visual Studio 2010 (Release) - Visual Studio 2015 (Debug, RelWithDebInfo, and Release) - Cygwin (Release) - Cygwin64 (Release) - MinGW (Release) - MinGW-w64 (Release) - MSYS2 (Release) This fixes madler#238
pull requests through Travis CI and Appveyor using cmake to generate and build the project. The following targets are built: Travis: - gcc (Debug, RelWithDebInfo, and Release) - valgrind (Debug) - ubsan (Debug) Appveyor: - Visual Studio 2010 (Release) - Visual Studio 2015 (Debug, RelWithDebInfo, and Release) - Cygwin (Release) - Cygwin64 (Release) - MinGW (Release) - MinGW-w64 (Release) - MSYS2 (Release) This closes madler#169 This fixes madler#238
pull requests through Travis CI and Appveyor using cmake to generate and build the project. The following targets are built: Travis: - gcc (Debug, RelWithDebInfo, and Release) - valgrind (Debug) - ubsan (Debug) Appveyor: - Visual Studio 2010 (Release) - Visual Studio 2015 (Debug, RelWithDebInfo, and Release) - Cygwin (Release) - Cygwin64 (Release) - MinGW (Release) - MinGW-w64 (Release) - MSYS2 (Release) This closes madler#169 This fixes madler#238
I have an easy fix pending against the develop branch.
|
Reported at https://gcc.gnu.org/PR79771: After the import of zlib-1.2.11 in GCC trunk, the zlib in-tree build for cygwin64 is broken under Windows 7 (can't check this myself).
A possible patch / work around can be found at
https://github.com/Alexpux/MSYS2-packages/blob/master/zlib/1.2.11-cygwin-no-widechar.patch
The text was updated successfully, but these errors were encountered: