Skip to content
Tcl Source Code View Ticket
Login

View Ticket

potential symbol conflicts

Closed / Fixed1263012fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-08-18 13:06:34
Using this tool:
http://www.xmission.com/~georgeps/implementation/software/tcl/findSymbolConflicts.tcl

I ran the following on the sources from today:
$ tclkit8.5 findSymbolConflicts.tcl libtcl85.so 
_DYNAMIC
_GLOBAL_OFFSET_TABLE_
__bss_start
_edata
_end
fast_s_mp_sqr
mp_add_d
mp_init_set
mp_karatsuba_sqr
mp_mod
mp_set
mp_sqr
mp_sub_d
mp_toom_sqr
s_mp_sqr

I talked with Kevin Kenny about getting this script
into the tools directory.   We should check Windows and
Mac builds too.
dkf Ticket [1263012fff]: 2 changes [History diff]2005-08-26 15:49:33
kennykbplain2005-08-29 22:10:03
Logged In: YES 
user_id=99768

George,
_DYNAMIC, _GLOBAL_OFFSET_TABLE, __bss_start, _edata, and
_end are C library stuff.  I'm attacking the others.
dkfplain2005-09-05 17:20:05
Logged In: YES 
user_id=79902

The following symbols (from an nm of a build of a threaded
HEAD on Linux/x86) are what I think are potential problems.

000cbc48 T fast_s_mp_sqr
000cc084 T mp_add_d
000cd7d8 T mp_init_set
000cdd40 T mp_karatsuba_sqr
000ce14c T mp_mod
000cec4c T mp_set
000cec98 T mp_sqr
000cee00 T mp_sub_d
000cfbb4 T mp_toom_sqr
000f9dc4 B pendingObjDataKey
000d0948 T s_mp_sqr

Everything else is either named correctly or a
linker/libc/bin-format artefact. So, I agree with GPS's list
(post trimming) but add another spot where a 'static' was
missed.
dkfplain2005-09-05 17:27:11
Logged In: YES 
user_id=79902

Fixed pendingObjDataKey (only referenced from tclObj.c so
not a big deal).
kennykb Closed ticket [1263012fff]. [History diff]2005-11-05 02:38:33
kennykbplain2005-11-05 02:38:34
Logged In: YES 
user_id=99768

Added a Windows branch to the script and committed it.
The Windows HEAD is clean at the moment.
kennykb Ticket [1263012fff]: 2 changes [History diff]2005-11-05 02:38:35
Log in (anonymous is fine) to add a comment.