Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8cd6f36f4237d728cb96b922af13a00ed048c7ba2b40ae53aa905933d0d711e7
Ticket: 62e693e66887d3739ab8059aa1e1abfe69d78403
windows: msys: gcc version 10.1.0 32-bit build fails due to zlib incompatibility
User & Date: bll on 2020-05-29 23:07:58
Changes

  1. comment changed to:
    Platform: windows / msys
    Compiler: gcc 10.1.0 / 32-bit
    
    Building 8.6.10 with windows/msys/gcc 10.1.0/32-bit segfaults due to some
    imcompatibility with the compat/zlib/win32/zdll.lib and .../zlib1.dll file.
    
    I built zlib (make -f win32/Makefile.gcc), copied libz.dll.a and zlib1.dll 
    to win32/ and adjusted the Tcl Makefile to link against libz.dll.a for win32.
    
    a) If the shipped files in compat/zlib/win32 are used, tclsh86.exe segfaults
       (at cfg[0].value = zlibVersion(); ).
    b) If a new zlib1.dll is created using the gcc 10.1.0 compiler, the 
       zlib1.dll file is not recognized as valid (on a system without msys2).
    
    I cannot find a method to link that works.
    
  2. login: "bll"
  3. mimetype: "text/plain"