Overview
| Artifact ID: | 75cc5abe00335fdfd007a8eadc3d51e1c5349cfc |
|---|---|
| Ticket: | 3159088fffffffffffffffffffffffffffffffff
lazy bindings for dynamic loading |
| User & Date: | anyeli on 2011-01-16 04:27:59 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- comment changed to:
I would like to have the option of having the dynamic loader perform lazy binding. As of Tcl 8.5.9, the UNIX implementation of dynamic loading always passes RTLD_NOW to dlopen(). I want to build an extension that links to a dynamic library without having to link to an exact (or maximum) version of the library. With RTLD_NOW, if the library I link to is missing some symbols, I cannot load the library at all if it is missing any symbols. With RTLD_LAZY, I could link to the library missing symbols, and avoid referencing them by using run-time version checks. I do not know of a way of doing the same thing with RTLD_NOW without a lot of extra work.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "anyeli"
- subsystem changed to: "40. Dynamic Loading"
- title changed to: "lazy bindings for dynamic loading"
- type changed to: "RFE"