Overview
| Artifact ID: | bc478c6ebfe28dd4f9400b84f5242ee63a631f96 |
|---|---|
| Ticket: | 3064962fffffffffffffffffffffffffffffffff
Suboptimal linkage of stubbed functions |
| User & Date: | nijtmans on 2010-09-13 21:47:30 |
Changes
- icomment:
Relevant here is Kevin's remark: <http://code.activestate.com/lists/tcl-core/9542/> and <http://software.intel.com/en-us/articles/performance-tools-for-software-developers-bsymbolic-can-cause-dangerous-side-effects/> (Thanks, Kevin!) I would be in favour of adding -Wl,-Bsymbolic to tcl.m4/configure: - Only in the release build - Only when linking the shared library, not in static builds. - Only with the GNU linker Reason: - On Windows, this is the default, multiple dll's using the same symbols, result in multiple versions of the same symbol. Tcl doesn't have this problem, simply because it doesn't export data, only function symbols. And if some application would use this 'feature', it is non-portable because it wouldn't work on Windows. I'll see if I can prepare a patch, before deciding on this. (B.T.W., I don't think this is actually a Bug.....)
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"