Skip to content
Tcl Source Code History Of Ticket 1819422
Login

History Of Ticket 1819422

Artifacts Associated With Ticket 1819422

  1. Ticket change [41579057a6] (rid 116174) by dgp on 2007-10-24 16:19:01:

    1. assignee initialized to: "jenglish"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      Attached patch takes the
      global C variable "tclStubsPtr"
      out of the Tcl library, where
      it arguably does not belong
      in the first place.
      
      "tclStubsPtr" is something
      the Tcl stubs library needs, 
      not the Tcl library.
      
      Please review the patch.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "None"
    11. title initialized to: "tclStubsPtr out of libtcl"
    12. type initialized to: "Patch"
  2. Add attachment "tclStubsPtr.patch" [0e60574495] (rid 94604) by dgp on 2007-10-24 23:19:01.

  3. Ticket change [ffcca76c54] (rid 108825) by dgp on 2007-10-24 23:19:01:

    1. icomment:
      
      
      File Added - 251165: tclStubsPtr.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [e5f6bb1757] (rid 104219) by dgp on 2007-10-24 23:29:28:

    1. icomment:
      
      
      File Added - 251166: 1819422.patch
      
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      One thing this patch breaks
      is the building of a static wish:
      
      /home/dgp/cvs/tk/unix/libtk8.5.a(tkStubLib.o): In function `Tk_InitStubs':
      tkStubLib.c:(.text+0x16): undefined reference to `tclStubsPtr'
      tkStubLib.c:(.text+0x111): undefined reference to `tclStubsPtr'
      tkStubLib.c:(.text+0x14f): undefined reference to `tclStubsPtr'
      collect2: ld returned 1 exit status
      
      
      Closer examination shows that this is
      because the static build configuration
      for wish implies no USE_TCL_STUBS during
      the compile, and a link against libtcl
      instead of libtclstubs.  This conflicts
      with the code for Tk_InitStubs() in
      generic/tkStubLib.c where code in the
      source file itself forces the enabling
      of USE_TCL_STUBS.  Why?!  
      
      The attached patch for Tk inherits the
      genstubs changes, as well as dropping
      the forced USE_TCL_STUBS from tkStubLib.c.
      Applying this patch makes static wish
      build just fine.
      
      Perhaps an even better answer is
      to iterate on this reform, and
      get tkStubsPtr and Tk_InitStubs()
      out of libtk.  I think that would
      also solve the issue.
      
      File Added: 1819422.patch
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Add attachment "1819422.patch" [c80bb287c6] (rid 122042) by dgp on 2007-10-24 23:29:28.

  6. Ticket change [72a4f42e11] (rid 100897) by jenglish on 2007-10-24 23:32:29:

    1. icomment:
      Logged In: YES 
      user_id=68433
      Originator: NO
      
      See also discussion in #1716117.
      
      I thought we decided to leave things as-is for 8.5?  (2007-05-16 11:35 comment).
      
      Will look at the patch later.
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  7. Ticket change [0b39983068] (rid 113948) by dgp on 2007-10-24 23:49:25:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      ah. there it is.
      
      missed it since I searched
      the Tcl tracker instead of Tk.
      
      Got interested in the issue
      again since I thought it might
      be related to Bug 1792432.
      
      Fine with me if these patches
      sit for now, with intent to
      re-examine/adopt early in 8.6
      development.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [c08d08a60f] (rid 102422) by dgp on 2008-04-01 23:33:23:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2008-04-01T16:33:23"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      Originator: YES
      
      
      Committed for 8.6a0.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Accepted"
    8. status changed to: "Closed"
    9. username: "dgp"
  9. Add attachment "tcl-stubs-modulescope.diff" [0ff43197c7] (rid 94881) by das on 2008-04-03 04:40:38.

  10. Ticket change [5942b09e51] (rid 117948) by das on 2008-04-03 04:40:38:

    1. icomment:
      
      
      File Added - 272948: tcl-stubs-modulescope.diff
      
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      attached patches that
      - make the symbols in libtclstub and libtkstub MODULE_SCOPE to avoid exporting them from extension shared libraries linked with the stub libs
      - constify the *StubsPtr and stub table hook pointers
      - fix USE_TCL_STUBS defines in tkStubLib.c and ttkStubLib.c
      - remove now unnecessary unexporting of libtclstub symbols from libtk.
      File Added: tcl-stubs-modulescope.diff
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  11. Add attachment "tk-stubs-modulescope.diff" [249918f4d8] (rid 131137) by das on 2008-04-03 04:41:31.

  12. Ticket change [202f6540e0] (rid 91273) by das on 2008-04-03 04:41:32:

    1. icomment:
      
      
      File Added - 272949: tk-stubs-modulescope.diff
      
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      MODULE_SCOPE patches committed to HEAD
      File Added: tk-stubs-modulescope.diff
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"