Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-09-01
13:34 • Closed ticket [4937c309f4]: compile for windows with --disable-zipfs with mingw ... artifact: 621dba9214 user: sebres
11:46 • Ticket [4937c309f4]: 3 changes artifact: a79d313cd3 user: apnadkarni
11:42 • Ticket [4937c309f4]: 3 changes artifact: 9b69760e03 user: apnadkarni
11:05 • Ticket [e533296a92] SegFault on info frame on apply status still Closed wi... artifact: db80054ef9 user: sebres
2026-08-31
21:44 • Closed ticket [e533296a92]. artifact: 9d1ae4a543 user: sebres
21:41 • New ticket [4937c309f4] compile for windows with --disable-zipfs with mingw tool... artifact: 01aeefcc11 user: sebres

compile for windows with --disable-zipfs with mingw toolchain is broken in 9.x

Closed / Invalid4937c309f4ce365790773a265567d8ecf6d03a6bCreated 93 days agoUpdated 93 days ago
Descriptionplain2026-08-31 21:41:08
$ ../configure --disable-zipfs

$ make -j8 tcltest
...
gcc -shared  -o tcl9dde14.dll -pipe -static-libgcc -municode -Wl,--disable-high-entropy-va -Wl,--enable-auto-image-base             -Wl,--out-implib,libtcl9dde14.dll.a tclWinDde.o libtclstub.a -lnetapi32 -lkernel32 -luser32 -ladvapi32 -luserenv -lws2_32 d:/Projects/tcl9.0-core-upstream/compat/zlib/win64/libz.dll.a d:/Projects/tcl9.0-core-upstream/libtommath/win64/libtommath.dll.a
ld.exe: tclWinDde.o:tclWinDde.c:(.text+0x31ad): undefined reference to `Tcl_InitStubs'
ld.exe: tclWinDde.o:tclWinDde.c:(.rdata$.refptr.tclStubsPtr[.refptr.tclStubsPtr]+0x0): undefined reference to `tclStubsPtr'
collect2.exe: error: ld returned 1 exit status
Makefile:613: recipe for target `tcl9dde14.dll' failed
make: *** [tcl9dde14.dll] Error 1
apnadkarniplain2026-09-01 11:42:07
Could not reproduce this error on core-9-0-branch
apnadkarniplain2026-09-01 11:46:40
As an aside, GH actions do not seem to test --disable-zips build at all. Is this by intent or oversight?
sebresmarkdown2026-09-01 13:34:02

Hmm... removed the build-folder completely and indeed don't see the error anymore (however strange is that make clean followed by reconfigure didn't fixed the issue at all). Anyway, close it now. Thx Ashok!

Log in (anonymous is fine) to add a comment.