Artifacts Associated With Ticket bc693446a9001783
Ticket change [cec4b75de2] (rid 234431) by sebres on 2024-10-22 21:29:52:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
The recipe for [./info?name=34bbf514a9bf2c3a9edfd2a8fc2d7a852d603bd4c1b8f0977a38a33e31d1f985&ln=498-501|${TCL_LIB_FILE}] seems to be incorrect: normally it'd be built from ${TCL_DLL_FILE}, but if something has dependency to libtcl.a only, or it get removed for some reason (but tcl.dll not), or it will be built earlier, for instance if one uses parallelized make (-jN), the libtcl.a is built incorrect, the following compilation steps may fail with: <code><pre> gcc -O2 ... tclAppInit.o libtcl86.dll.a libtclstub86.a ... \ tclsh.res.o -o tclsh86.exe -mconsole -pipe -static-libgcc -municode -Wl,--enable-auto-image-base <b style="color:red">ld: tclAppInit.o:tclAppInit.c:(.text+0xc): undefined reference to `__imp_Tcl_Init'</b> <b style="color:red">ld: tclAppInit.o:tclAppInit.c:(.text+0x18): undefined reference to `__imp_Tcl_NewStringObj'</b> <b style="color:red">ld: tclAppInit.o:tclAppInit.c:(.text+0x51): undefined reference to `__imp_Tcl_ObjSetVar2'</b> <b style="color:red">ld: tclAppInit.o:tclAppInit.c:(.text+0xc0): undefined reference to `__imp_Tcl_CreateInterp'</b> <b style="color:red">ld: tclAppInit.o:tclAppInit.c:(.text+0xd5): undefined reference to `__imp_Tcl_MainExW'</b> collect2.exe: error: ld returned 1 exit status <b style="color:red">Makefile:473: recipe for target `tclsh86.exe' failed make: *** [tclsh86.exe] Error 1</b> </pre></code> Also it seem to be missing dependency for some targets, like tclsh and tcltest... for proof: <code><pre> $ rm *.exe *.a; make -j4 tcltest ... gcc -O2 ... tclAppInit.o libtcl86.dll.a libtclstub86.a ... \ tclsh.res.o -o tclsh86.exe -mconsole -pipe -static-libgcc -municode -Wl,--enable-auto-image-base cp tclsh.exe.manifest tclreg13.dll.manifest ld: cannot find libtcl86.dll.a: No such file or directory collect2.exe: error: ld returned 1 exit status <b style="color:red">Makefile:473: recipe for target `tclsh86.exe' failed make: *** [tclsh86.exe] Error 1</b> make: *** Waiting for unfinished jobs.... gcc -O2 ... tclTest.o tclTestObj.o tclTestProcBodyObj.o tclThreadTest.o tclWinTest.o tclTestMain.o libtcl86.dll.a libtclstub86.a ... \ tclsh.res.o -o tcltest.exe -mconsole -pipe -static-libgcc -municode -Wl,--enable-auto-image-base ld: cannot find libtcl86.dll.a: No such file or directory collect2.exe: error: ld returned 1 exit status <b style="color:red">Makefile:517: recipe for target `tcltest.exe' failed make: *** [tcltest.exe] Error 1</b> </pre></code> - foundin initialized to: "any"
- is_private initialized to: "0"
- login: "sebres"
- priority initialized to: "5 Medium"
- private_contact initialized to: "50e9528765c18296566374b3fde2df942c394efd"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "sebres"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to:
win/makefile: wrong recipe to buid libtcl.a and missing dependencies
- type initialized to: "Bug"
Ticket change [c9afbe7bb8] (rid 234435) by sebres on 2024-10-22 22:07:01:
- closedate changed to: "2460606.42154688"
- closer changed to: "sebres"
- icomment:
Fixed in [f70f06573b2fb304], I'll merge it tomorrow to 8.7+ if tests in GHA will pass.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [1d0c799c0f] (rid 234441) by jan.nijtmans on 2024-10-23 10:15:18:
- assignee changed to: "sebres"
- closer changed to: "nobody"
- icomment:
The build failed: [https://github.com/tcltk/tcl/actions/runs/11475003899] So, re-opening. @sebres, can you have a look?
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Pending"
Ticket change [1344852914] (rid 234444) by sebres on 2024-10-23 10:42:48:
- closedate changed to: "2460606.94639275"
- closer changed to: "sebres"
- icomment: "Already... fixed in [e2ad8bcdfd]."
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"