Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Link error on tcltest -- visibility of TclFullFinalizationRe

Closed / Out of Date3401772fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2011-08-31 18:12:39
[20:10]ferrieuxouch -- link error building tcltest on trunk !
[20:11]ferrieuxtclThreadTest.o: In function `ThreadEventProc':
tclThreadTest.c:(.text+0x12fd): undefined reference to `TclFullFinalizationRequested'
[20:11]ferrieuxMODULE_SCOPE is not visible from outside libtcl.so => problematic in satellites like tclThreadTest
[20:11]ferrieuxstubify ? other option ?
dgpplain2011-09-01 01:14:48
Strange that I haven't seen it yet.  Doesn't
appear in --disable-shared builds perhaps?

When the issue's arisen before the solution
has been to place the routine in internal stubs.
ferrieuxplain2011-09-01 01:15:35
Can you do it ?
dgpplain2011-09-01 01:19:18
looking...
dgpplain2011-09-01 01:27:54
better short term fix is pull the offending
commit off the trunk.
dgp Ticket [3401772fff]: 2 changes [History diff]2011-09-01 01:30:24
ferrieuxplain2011-09-01 01:30:58
Hum, look at the timeline now... can you reconcile my recent branch bug-XXX with the trunk ?
ferrieux Ticket [3401772fff]: 1 change [History diff]2011-09-01 01:32:33
dgpplain2011-09-01 01:34:26
The DAG is unchanged.  I don't expect any trouble.
dgp Ticket [3401772fff]: 1 change [History diff]2011-09-01 01:34:32
ferrieuxplain2011-09-01 01:36:48
OK, I assume a fossil merge --baseline will do ... once you validate the patch :)
Thanks.
dgpplain2011-09-01 01:36:56
I guess the remaining trouble is that it
leaves your patch branch unfixed.  You can
make do with the --disable-shared workaround?

I'm not in a hurry to fix up my [testthread exit] 
revisions, because I'm no longer sure that I 
intend [testthread] to continue to exist.
ferrieuxplain2011-09-01 01:37:58
Yes, I figured out the --disable-thread, so I could test my new test case.
Please comment on the patch (in the other bug).
ferrieuxplain2011-09-01 01:40:52
Also note that the stubification of FullFinReq will also be needed after the switch over to the Thread extension (even more so).
dgpplain2011-09-01 01:42:17
Only if I care about leaks in the deprecated
[thread::exit] command.  My current assumption
is that I don't.
dgpplain2011-09-14 00:59:49
allow_comments - 1


Preferred alternative solution is to stop using
[threadtest] and [thread::exit] in the test suite.
Log in (anonymous is fine) to add a comment.