Skip to content
Tcl Source Code History Of Ticket 26e60451fce4df9c
Login

History Of Ticket 26e60451fce4df9c

Artifacts Associated With Ticket 26e60451fce4df9c

  1. Ticket change [01abd0bac0] (rid 197641) by pointsman on 2022-02-04 14:57:02:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Since [8a5f4d238e630b41] (the implementation of tip 596) bulding a custom tclsh (with a binary extension build in) with an own tclAppInit.c is broken and results in:
      
      /usr/bin/ld: [path to]/lib/libtclstub9.0.a(tclStubCall.o): in function `TclStubCall':
      tclStubCall.c:(.text+0xa5): undefined reference to `dlsym'
      /usr/bin/ld: tclStubCall.c:(.text+0xbd): undefined reference to `dlsym'
      /usr/bin/ld: tclStubCall.c:(.text+0xdd): undefined reference to `dlopen'
      /usr/bin/ld: tclStubCall.c:(.text+0xfd): undefined reference to `dlopen'
      /usr/bin/ld: tclStubCall.c:(.text+0x11b): undefined reference to `dlerror'
      /usr/bin/ld: tclStubCall.c:(.text+0x17a): undefined reference to `dlerror'
      collect2: error: ld returned 1 exit status
      
      
      while trying to link the tclsh.
      
      Prior to that commit, thinks works as they always (decades) did.
      
    5. foundin initialized to: "9.0"
    6. is_private initialized to: "0"
    7. login: "pointsman"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "4ca203a8e925aecdd9419645f936bccf18cd6ea7"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "pointsman"
    14. subsystem initialized to: "69. Other"
    15. title initialized to: "9.0 Building "big tclshs" is broken"
    16. type initialized to: "Bug"
  2. Ticket change [ac2e32e407] (rid 197656) by jan.nijtmans on 2022-02-07 07:52:15:

    1. assignee changed to: "jan.nijtmans"
    2. icomment:
      Most likely reason for this is that your tclAppInit.c is compiled with
      -DUSE_TCL_STUBS. Don't do that, because starting with Tcl 9.0 it is really using stubs to use load the Tcl library. Or - if you want to use the new TIP #596 functionality (I don't think you do), link with -ldl See: [https://stackoverflow.com/questions/2186219/where-is-the-library-for-dlsym]
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
    5. resolution changed to: "Invalid"
    6. status changed to: "Pending"
  3. Ticket change [416ce34461] (rid 197668) by pointsman on 2022-02-07 12:43:29:

    1. icomment:
      Yes, after removing of -DUSE_TCL_STUBS from the compiler flags while compiling the custom tclAppInit.c restores the build.
      
    2. login: "pointsman"
    3. mimetype: "text/plain"
  4. Ticket change [029c493bb9] (rid 197670) by pointsman on 2022-02-07 12:58:12:

    1. icomment:
      But ... since building customs tclshs seems to be still supported, at least doc/AppInit.3 is still on trunk it would be helpful to spell it out if a core change  requires a change of up to that working processes.
      
      Prior to the change [8a5f4d238e630b41] a extension writer could simply use $(COMPILE) in a TEA derivated makefile to compile the custom tclAppInit.c.
      
      This isn't possible anymore and at least I can't see an easy or obvious way within the TEA framework to reflect this change.
      
      To categorise this kind of feedback about core changes as "invalid" smells a bit like ignorance to what extension authors do.
      
    2. login: "pointsman"
    3. mimetype: "text/plain"
  5. Ticket change [ef0ac8a3c0] (rid 200231) by jan.nijtmans on 2022-04-18 17:29:55:

    1. closedate changed to: "2459688.22911622"
    2. closer changed to: "jan.nijtmans"
    3. login: "jan.nijtmans"
    4. mimetype: "text/plain"
    5. status changed to: "Closed"