Skip to content
Tcl Source Code History Of Ticket 0d72c165defb6d9a
Login

History Of Ticket 0d72c165defb6d9a

Artifacts Associated With Ticket 0d72c165defb6d9a

  1. Ticket change [9ae3cc2e7a] (rid 178174) by mniehren on 2020-01-02 13:44:58:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      I try to crosscompile tcl V8.6.10 on Linux with osxcross.
      Compiling works fine, but in the libtclstub8.6.a there is now an reference
      to TclIsSpaceProc, so.
      
      If i now compile an extension, the linking fails as libtclstub8.6.a has an
      undefinded reference for TclIsSpaceProc:
      
      o64-clang -DSTATIC_BUILD=1 -DMAC_OSX_TCL=1 -D__APPLE__ -shared -pipe -O2 -fomit-frame-pointer -Wall -fPIC   -o libtreectrl2.4.3.so qebind.o tkTreeColumn.o tkTreeCtrl.o tkTreeDisplay.o tkTreeDrag.o tkTreeElem.o tkTreeHeader.o tkTreeItem.o tkTreeMarquee.o tkTreeNotify.o tkTreeStyle.o tkTreeTheme.o tkTreeUtils.o tkMacOSXTree.o -framework Cocoa -framework Carbon  -L/home/michael/entwicklung/tclexecomp/maccross/build/tcl8.6.10/unix -ltclstub8.6 -L/home/michael/entwicklung/tclexecomp/maccross/build/tk8.6.10/unix -ltkstub8.6
      Undefined symbols for architecture x86_64:
        "_TclIsSpaceProc", referenced from:
            _strtoul in libtclstub8.6.a(strtoul.o)
      ld: symbol(s) not found for architecture x86_64
      clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
      
      
      After changeing the file "compat/strtoul.c" to the version of V8.6.9, compilation works
      as expected.
      
      Here is the only change:
      pc1@~/entwicklung/tclexecomp/src/tcl/tcl8.6.10.new# diff compat/strtoul.c ../../../maccross/build/tcl8.6.9/compat/strtoul.c
      77c77
      <     while (TclIsSpaceProc(*p)) {
      ---
      >     while (isspace(UCHAR(*p))) {
      
      Best regards
        Michael
      
    5. foundin initialized to: "8.6.10"
    6. is_private initialized to: "0"
    7. login: "mniehren"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "d24466f4295ab6e922f55b37442e741edb284b1f"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "mniehren"
    14. subsystem initialized to: "69. Other"
    15. title initialized to:
      Linker Error on CrossCompiling Modules on tcl V8.6.10 in libtclstub8.6.a
      
    16. type initialized to: "Bug"
  2. Ticket change [e8018f4f60] (rid 178245) by jan.nijtmans on 2020-01-05 19:41:39:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2458854.32059492"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Dup of [https://core.tcl-lang.org/tk/info/abd4abedd2]. Already fixed.
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"