Tcl package Thread source code

View Ticket
Login
Ticket UUID: 9fee4b5bb28b3bc23d98f74330b4093735808848
Title: Crosscompiliation issue with recent releases (8.6.16/9.0.1)
Type: Bug Version:
Submitter: apnadkarni Created on: 2026-05-22 11:46:47
Subsystem: - New Builtin Commands Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2026-08-20 14:00:03
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2026-08-20 14:00:03
Description:
Copied from https://core.tcl-lang.org/tcl/tktview/cb338c130b. See further comments there.

Dear TCL-Team,
since several years I crosscompile TCL/TK as part of Maxima Windows installer from Linux to Windows (using x86_64-w64-mingw32-gcc (or i686-w64-mingw32-gcc)).

This worked perfectly - including 8.6.15; the recent 8.6.16 (or 9.0.1) release breaks when using
mkdir b
cd b
../win/configure  --host=x86_64-w64-mingw32 
make
in the tcl-9.0.1 source directory with:

creating libthread.vfs/thread_library (prepare compression)
creating libthread3.0.1.zip from libthread.vfs/thread_library
rm -f tcl9thread301.dll
x86_64-w64-mingw32-gcc -shared   -o tcl9thread301.dll threadNs.o threadCmd.o threadSvCmd.o threadSpCmd.o threadPoolCmd.o psGdbm.o psLmdb.o threadSvListCmd.o threadSvKeylistCmd.o tclXkeylist.o  "/tmp/tcl9.0.1/b/libtclstub.a" -static-libgcc 
cat: libthread3.0.1.zip: No such file or directory
make[1]: *** [Makefile:311: t--enable-zipfs=nocl9thread301.dll] Error 1
make[1]: Leaving directory '/tmp/tcl9.0.1/b/pkgs/thread3.0.1'


There seems to be an issue with the (new) ZIPFS-feature, it works with the option:
--enable-zipfs=no

(and is --enable-64bit really necessary when (cross)compiling to 64 bit? (x86_64-w64-mingw32 in my case)? 64 bit should be the default nowadays??
  
Best regards, Wolfgang Dautermann
User Comments: jan.nijtmans added on 2026-08-20 14:00:03:

Closing, since it works for me.

If there is still something wrong, please re-open this ticket.


apnadkarni added on 2026-05-22 11:49:48:
Fixed in [1215387dc5]. Please retest.