Skip to content
Tcl Source Code Artifact [5a0e03b8ac]
Login

Artifact [5a0e03b8ac]

Artifact 5a0e03b8ac9a23db5fe0b9783a6fdd49db269e6a:

Ticket change [5a0e03b8ac] - Closed ticket [665431ffffffffff|665431ffff]: <i>load fails with undefined symbol message (suggested fix)</i> plus 7 other changes by kennykb on 2003-01-28 01:18:46.
D 2003-01-28T01:18:46
J closedate 2003-01-27T18:18:46
J closer kennykb
J icomment Logged\sIn:\sYES\s\nuser_id=99768\n\nI've\sdiscussed\sthis\sproposal\swith\sseveral\sother\sTcl\smaintaners,\sand\nthe\sgeneral\sconsensus\sis\sthat\sthe\sproposed\schange\swould\snot\sbe\nan\simprovement.\n\nThe\sproblem\sis\sthat\sRTLD_LAZY\sresults\sin\sawkward\sbehavior.\s\sIn\sthe\ncurrent\simplemenation,\sa\sdynamic\sloading\sproblem\sshows\sup\sas\sa\sTcl\nerror.\s\sThis\serror\sis\slikely\srecoverable:\sin\sfact,\sthere\sare\sseveral\spackages\nin\stcllib\sthat\stry\sseveral\sbinary\spackages,\sand\seven\sfall\sback\son\spure\sTcl\nimplementations\sof\stheir\sneeded\sfunctionality.\s\sThe\salternative,\sdeferring\nthe\sproblem,\smeans\sthat\sthe\s[load]\scommand\sfails\ssilently,\sand\sthen\nif\sthe\smissing\spieces\sare\sever\sneeded,\sthe\sprocess\saborts\swith\san\serror\nthat's\smuch\sless\seasy\sto\scatch\sand\srecover.\n\nIt's\sarguable\sthat\sany\sload\smodule\sthat\sfails\swith\sRTLD_NOW\sbut\n"succeeds"\swith\sRTLD_LAZY\sis\sexceedingly\slikely\sto\sabort\son\sthe\smissing\npieces\slater\son,\sand\sthis\sabort\sis\sa\smysterious\score\sdump\srather\sthan\na\stransparent\sTcl\serror.\s\sWhile\sthis\sis\sperhaps\sacceptable\sbehavior\sin\nC,\sTcl\sprides\sitself\son\snot\sdumping\score\sfor\suser\serrors\sand\scommon\nmisconfigurations.\n\nIf\syou\scan\sfollow\sup\sto\scomp.lang.tcl\swith\swhat\syou're\strying\sto\saccomplish\n(ideally\swith\sspecifics\sabout\show\sany\swhy\syour\sload\sis\sfailing),\sI'm\ssure\nthat\sthe\sfriendly\speople\sthere\scan\shelp\swork\sout\sa\ssolution\sthat\sdoesn't\ninvolve\snasty\ssurprises\sat\srun\stime.\n
J login kennykb
J mimetype text/plain
J resolution Rejected
J status Closed
J username kennykb
K 665431ffffffffffffffffffffffffffffffffff
U kennykb
Z 9a560948120152e437ace4bd4894e994