| Ticket UUID: | 3401772 | ||
| Title: | Link error on tcltest -- visibility of TclFullFinalizationRe | ||
| Type: | Bug | Created on: | 2011-08-31 18:12:39 |
| Submitter: | ferrieux | Assigned to: | dgp |
| Subsystem: | 49. Threading | Severity: | |
| Priority: | 5 Medium | Last modified: | 2011-09-14 00:59:49 |
| Status: | Closed | Closed by: | dgp |
| Resolution: | Out of Date | Closed on: | 2011-09-13 17:59:49 |
| Version: | None | ||
| Description: | ||||
[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 ? | ||||
| User Comments: | ||||
dgp added on 2011-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. ferrieux added on 2011-09-01 01:15:35:
Can you do it ? dgp added on 2011-09-01 01:19:18:
looking... dgp added on 2011-09-01 01:27:54:
better short term fix is pull the offending commit off the trunk. ferrieux added on 2011-09-01 01:30:58:
Hum, look at the timeline now... can you reconcile my recent branch bug-XXX with the trunk ? dgp added on 2011-09-01 01:34:26:
The DAG is unchanged. I don't expect any trouble. ferrieux added on 2011-09-01 01:36:48:
OK, I assume a fossil merge --baseline will do ... once you validate the patch :) Thanks. dgp added on 2011-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. ferrieux added on 2011-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). ferrieux added on 2011-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). dgp added on 2011-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. dgp added on 2011-09-14 00:59:49:
allow_comments - 1 Preferred alternative solution is to stop using [threadtest] and [thread::exit] in the test suite. | ||||
