Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2011-09-14
00:59 • Closed ticket [3401772fff]: Link error on tcltest -- visibility of TclFullFinali... artifact: 840388302c user: dgp
2011-09-01
01:42 • Ticket [3401772fff]: 4 changes artifact: 2e320e75fa user: dgp
01:40 • Ticket [3401772fff]: 4 changes artifact: 710b0b2456 user: ferrieux
01:37 • Ticket [3401772fff]: 4 changes artifact: 131726743a user: ferrieux
01:36 • Ticket [3401772fff]: 4 changes artifact: 2ca426cd6f user: dgp
01:36 • Ticket [3401772fff]: 4 changes artifact: 0b67e790c7 user: ferrieux
01:34 • Ticket [3401772fff]: 1 change artifact: 8a901e9931 user: dgp
01:34 • Ticket [3401772fff]: 4 changes artifact: b9a44c0ab7 user: dgp
01:32 • Ticket [3401772fff]: 1 change artifact: b63eb970c4 user: ferrieux
01:30 • Ticket [3401772fff]: 6 changes artifact: 2f04d850cd user: ferrieux
01:30 • Ticket [3401772fff]: 2 changes artifact: bd293d3c3f user: dgp
01:27 • Ticket [3401772fff]: 4 changes artifact: 5cd8692194 user: dgp
01:19 • Ticket [3401772fff]: 4 changes artifact: e3692b2662 user: dgp
01:15 • Ticket [3401772fff]: 4 changes artifact: f2f13343b1 user: ferrieux
01:14 • Ticket [3401772fff]: 4 changes artifact: 9ce75fba17 user: dgp
2011-08-31
18:12 • New ticket [3401772fff]. artifact: a11a51c89b user: ferrieux

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.