Skip to content
Tcl Source Code History Of Ticket bc693446a9001783
Login

History Of Ticket bc693446a9001783

Artifacts Associated With Ticket bc693446a9001783

  1. Ticket change [cec4b75de2] (rid 234431) by sebres on 2024-10-22 21:29:52:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. 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>
      
    5. foundin initialized to: "any"
    6. is_private initialized to: "0"
    7. login: "sebres"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "50e9528765c18296566374b3fde2df942c394efd"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "sebres"
    14. subsystem initialized to: "53. Configuration and Build Tools"
    15. title initialized to:
      win/makefile: wrong recipe to buid libtcl.a and missing dependencies
      
    16. type initialized to: "Bug"
  2. Ticket change [c9afbe7bb8] (rid 234435) by sebres on 2024-10-22 22:07:01:

    1. closedate changed to: "2460606.42154688"
    2. closer changed to: "sebres"
    3. icomment:
      Fixed in [f70f06573b2fb304], I'll merge it tomorrow to 8.7+ if tests in GHA will pass.
      
    4. login: "sebres"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
  3. Ticket change [1d0c799c0f] (rid 234441) by jan.nijtmans on 2024-10-23 10:15:18:

    1. assignee changed to: "sebres"
    2. closer changed to: "nobody"
    3. icomment:
      The build failed: [https://github.com/tcltk/tcl/actions/runs/11475003899]
      
      So, re-opening.
      
      @sebres, can you have a look?
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. status changed to: "Pending"
  4. Ticket change [1344852914] (rid 234444) by sebres on 2024-10-23 10:42:48:

    1. closedate changed to: "2460606.94639275"
    2. closer changed to: "sebres"
    3. icomment: "Already... fixed in [e2ad8bcdfd]."
    4. login: "sebres"
    5. mimetype: "text/x-fossil-wiki"
    6. status changed to: "Closed"