Overview
| Artifact ID: | 669be334a6b667205ef954aab6bd624d2b8bcef3 |
|---|---|
| Ticket: | 1961211fffffffffffffffffffffffffffffffff
TclpDlopen failing on MacOSX 10.4 and later |
| User & Date: | sebbarre on 2008-05-14 06:40:49 |
Changes
- icomment:
Logged In: YES user_id=214100 Originator: YES > nobody: > Anyway, I rest my case. I think your example will happen much less often than the scenario I described initially. Anyway. > das: >i.e. compile with > -DTCL_DYLD_USE_DLFCN=0 -DTCL_DYLD_USE_NSMODULE=1 -DTCL_DEBUG_LOAD >and with > -DTCL_DYLD_USE_DLFCN=1 -DTCL_DYLD_USE_NSMODULE=0 -DTCL_DEBUG_LOAD >and if there is a difference, paste results of your [load]s above. Yes, I had tried that last week, since I test using different major versions of Tcl/Tk compiled from source; sadly, the difference is that Tcl 8.5 would hang while loading the second library, on MacOSX 10.5. Though I had not tried with TCL_DEBUG_LOAD, I can try that again tomorrow. > Please make sure to test on both OSX 10.4 and 10.5 if possible and with > binaries linked on 10.5 as well as on 10.4, the dyld and linker 10.4 and 10.5 failed in the exact same way for me. One of our regression machine is 10.4, which is where I spotted the problem. I then tried on my own Mac, running 10.5, and this failed as well. Another one of our regression computer is running 10.3, and has no problem (since it's not using dlopen). > BTW, have you considered not linking with -flat_namespace? that is a > legacy option that completely changes how symbols are resolved, using > two-level namespaces will record which library a given symbol comes I wasn't aware of that, and will try. Thanks
- login: "sebbarre"
- mimetype: "text/plain"
- username: "sebbarre"