Skip to content
Tcl Source Code History Of Ticket 880855cb092f319a
Login

History Of Ticket 880855cb092f319a

Artifacts Associated With Ticket 880855cb092f319a

  1. Ticket change [d6c4efcece] (rid 142902) by anonymous on 2015-08-26 22:50:14:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Building TCL 8.6.4 in a CentOS 6 distribution, gcc 5.2.0 with the following options:
      
      $ cd tcl8.6.4
      $ ./configure --prefix=~/tcl8.6.4.bug_report/ --enable-shared --enable-threads --enable-64bit 
      $ make install
      
      If I then look for any of the TCL OO API symbols in the generated libtcl8.6.so, I will not find them:
      
      $ nm -g ~/tcl8.6.4.bug_report/lib/libtcl8.6.so | grep Tcl_NewObjectInstance
      $
      
    5. foundin initialized to: "8.6.4"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "a8c2db0f339ea84509c02b2759253d62e5bbe5df"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "53. Configure and Build Tools"
    15. title initialized to: "Tcl C API OO symbols are not exported to libtcl.so"
    16. type initialized to: "Bug"
  2. Ticket change [c42fa6ce67] (rid 142903) by aku on 2015-08-26 23:24:11:

    1. assignee changed to: "dkf"
    2. login: "aku"
    3. mimetype: "text/plain"
  3. Ticket change [58dc694c79] (rid 142904) by jan.nijtmans on 2015-08-27 08:34:52:

    1. icomment:
      See: [http://core.tcl.tk/tcl/info/3010352]
      
      All TclOO symbols in the Tcl shared library are currently MODULE_SCOPE, already for more than 5 years. Reason: don't pollute the symbols table with functions which are not needed for correct operation. It also allows the C-compile to do better optimizations.
      
      If you want to use this symbols from your own extensions, either use the Stubs mechanism, either compile Tcl as static library (there was an issue on this in the past, but that's fixed now). The TDBC extension proves that those symbols can be used just fine, I don't see a bug here.
      
      Unless Donal has something useful to say, I propose to close this ticket. Or - maybe- improve the documentation.
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Invalid"
    5. status changed to: "Pending"
  4. Ticket change [aae68e7fe2] (rid 142935) by dkf on 2015-08-30 20:14:15:

    1. icomment:
      The public TclOO symbols are supposed to have identical linkage to ordinary Tcl symbols.
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. resolution changed to: "None"
    5. status changed to: "Open"
  5. Ticket change [effef4c36a] (rid 148389) by dkf on 2016-08-20 16:04:33:

    1. login: "dkf"
    2. mimetype: "text/plain"
    3. priority changed to: "6"
  6. Ticket change [cfe2bd7d51] (rid 148471) by dkf on 2016-08-23 14:07:20:

    1. login: "dkf"
    2. mimetype: "text/plain"
    3. subsystem changed to: "35. TclOO Package"