Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fefef5a24317bee1e5f0e867642e5d8d5b87ad91
Ticket: 3579001fffffffffffffffffffffffffffffffff
Allow user choice for RTLD_GLOBAL / RTLD_LOCAL
User & Date: nijtmans on 2012-11-02 20:32:32
Changes

  1. icomment:
    Test report from Christian:
    Hi Jan,
    
    I performed some manual testing on the new implementation of the load command using a set of loadable modules in a software package that I am working on.  I can tell by the behavior of some of my internal testcases which flags are passed to dlopen().  All of the following combinations work as expected:
    
    load module.so
    load -global module.so
    load -lazy module.so
    load -global -lazy module.so
    load -lazy -global module.so
    
    Also,
    
    load -- module.so
    load -global -- module.so
    load -lazy -- module.so
    load -lazy -global -- module.so
    
    The default is still local + now symbol loading  (correct)
    The -global flag loads the libraries symbols with global scoping (correct)
    The -lazy flag correctly ignores missing symbols until the code is actually called (correct)
    
    Regards,
    
    Christian
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. resolution changed to: "Fixed"
  5. username: "nijtmans"