Overview
| Artifact ID: | feb7bd1da5d1bdc6ff64262199ec13ccd1296cfd |
|---|---|
| Ticket: | 3257396fffffffffffffffffffffffffffffffff
Remove use of --export-dynamic |
| User & Date: | hobbs on 2011-04-04 23:19:48 |
Changes
- icomment:
[excerpted counter-point from tcl-core thread] I do not believe this is correct. Reading the website, it notes that """Normally, the dynamic symbol table contains only symbols which are used by a dynamic object. [-export-dynamic] option (when creating an ELF file) adds all symbols to the dynamic symbol table (see ld(1) for more information). You need to use this option when there are 'reverse dependencies', i.e., a DL library has unresolved symbols that by convention must be defined in the programs that intend to load these libraries.""" and then I dug up one of the old bugs that requested its addition, Tcl #218952 (Scriptics bug 2998), 8.3.0 change 2000-02-10, matching the use of -rdynamic for Linux at the time. I believe this reverse dependency is actually important for other users. The core tests are wholly insufficient to properly test this. Testing this change would mean testing things like the plugin and other areas where Tcl is linked in and stubs are not necessarily used. I recommend against this patch - it does not provide any clear value, and has certain use cases noted by former bug submitters and as indicated by the docs above.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"