Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ef4060b3fa2e954cd21f015b8675ecf055408a83
Ticket: 2902965fffffffffffffffffffffffffffffffff
stub related changes cause tclkit built to break
User & Date: nijtmans on 2009-11-24 06:56:29
Changes

  1. assignee changed to: "nijtmans"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Pat reported me the following. I didn't expect those changes
    to cause such problems. This issue is meant to work
    out a solution, for everybody to comment on.
    
    Pat Thoyts:
    I'm not sure this is correct. You now force the dde and registry
    extensions to use stubs at all times - even when building static. tclkit
    links static versions of these into the tclkit executable so now I get a
    link error for unresolved symbol _tclStubsPtr from tclWinDde.obj and
    tclWinReg.obj when linking the tclkit executable. Obviously I can add
    the tcl stubs library to the linker command line but really should I
    need to? Surely in a static binary like this I should only be exposing
    the stubs interface - not making use of it internally.
    The original bug you were fixing is irrelevant to the tclkit build as
    when we construct the vfs we manufacture a static pkgIndex so that
    package require does the right thing. ie:
     package ifneeded dde 1.n.n {load {} dde}
    
    I could well be wrong, but surely when building a static version of
    dde/registry I don't need the macro getting undef'd on me.
    
    Also, if this breaks tclkit I think we can be sure it will break other
    builds of embedded tcl elsewhere.
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nijtmans"
  10. subsystem changed to: "40. Dynamic Loading"
  11. title changed to: "stub related changes cause tclkit built to break"
  12. type changed to: "Bug"