|
2024-10-30
| ||
| 18:21 | Merge [72d9e7c8e5185a95]: win/Makefile.in: amend to [bc693446a9001783]: fixes "--disable-shared" b... check-in: faa60ecf01 user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE | |
|
2024-10-23
| ||
| 10:42 | • Closed ticket [bc693446a9]: win/makefile: wrong recipe to buid libtcl.a and miss... artifact: 1344852914 user: sebres | |
| 10:41 | win/Makefile.in: amend to [bc693446a9001783]: fixes "--disable-shared" build (make libtcl.a directly... check-in: e2ad8bcdfd user: sebres tags: core-8-6-branch | |
| 10:15 | • Pending ticket [bc693446a9]: win/makefile: wrong recipe to buid libtcl.a and mis... artifact: 1d0c799c0f user: jan.nijtmans | |
|
2024-10-22
| ||
| 22:12 | small amend to [bc693446a9001783] (forgotten unsaved changes) check-in: e4447975fd user: sebres tags: core-8-6-branch | |
| 22:07 | • Closed ticket [bc693446a9]: win/makefile: wrong recipe to buid libtcl.a and miss... artifact: c9afbe7bb8 user: sebres | |
| 21:35 | win/Makefile.in: fixed recipe and dependency for ${TCL_LIB_FILE} (built with ${TCL_DLL_FILE}); close... check-in: f70f06573b user: sebres tags: core-8-6-branch | |
| 21:29 | • New ticket [bc693446a9] win/makefile: wrong recipe to buid libtcl.a and missing ... artifact: cec4b75de2 user: sebres | |
win/makefile: wrong recipe to buid libtcl.a and missing dependencies
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
ld: tclAppInit.o:tclAppInit.c:(.text+0xc): undefined reference to `__imp_Tcl_Init'
ld: tclAppInit.o:tclAppInit.c:(.text+0x18): undefined reference to `__imp_Tcl_NewStringObj'
ld: tclAppInit.o:tclAppInit.c:(.text+0x51): undefined reference to `__imp_Tcl_ObjSetVar2'
ld: tclAppInit.o:tclAppInit.c:(.text+0xc0): undefined reference to `__imp_Tcl_CreateInterp'
ld: tclAppInit.o:tclAppInit.c:(.text+0xd5): undefined reference to `__imp_Tcl_MainExW'
collect2.exe: error: ld returned 1 exit status
Makefile:473: recipe for target `tclsh86.exe' failed
make: *** [tclsh86.exe] Error 1
Also it seem to be missing dependency for some targets, like tclsh and tcltest... for proof:
$ 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
Makefile:473: recipe for target `tclsh86.exe' failed
make: *** [tclsh86.exe] Error 1
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
Makefile:517: recipe for target `tcltest.exe' failed
make: *** [tcltest.exe] Error 1
Fixed in [f70f06573b2fb304], I'll merge it tomorrow to 8.7+ if tests in GHA will pass.
The build failed: https://github.com/tcltk/tcl/actions/runs/11475003899
So, re-opening.
@sebres, can you have a look?
Already... fixed in [e2ad8bcdfd].