: <i>TclpDlopen latent bug now crashes after SunOS linker patch</i> plus 4 other changes
by
.
D 2006-06-13T16:51:36
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nTcl\smost\scertainly\sisn't\swaiting\sa\slong\stime\sbetween\scalling\ndlopen()\sand\sdlerror();\sit\sonly\sdoes\sa\sfew\scalls\sbetween\sto\nperform\sminor\smemory\smanagement\sand\swhich\sare\sunlikely\sto\ncause\sany\sOS\straps\sat\sall\s(malloc\simplementations\sbeing\sthe\nway\sthey\sare).\n\nAs\syou\snote,\sthe\sproblem\sis\sthe\scompiler.\sAccording\sto\sthe\nSun\sdocumentation,\sthe\spragma\sshould\smean\sthat\sTclpDlOpen()\ndoesn't\sget\soptimized\s-\snot\sa\sbig\sdeal\sfrom\sour\sperspective\nand\ssurely\snot\sthat\shard\sfor\sa\scompiler\sto\sdo!\s-\sand\ntherefore\sthe\sbug\sis\sdefinitely\scompiler-caused.\sSo\snot\sour\nfault!\s:-)\n\nA\sworkaround\smight\sbe\sto\stry\sto\scompile\sthat\sfile\swith\sgcc\nby\shand...?\sMessy\sthough.\sAnother\spossibility\smight\sbe\sto\nput\sthe\sresult\sof\sdlerror()\sinto\sa\slocal\svariable\sbefore\npassing\sit\sto\sTcl_AppendResult();\sif\sthat\sstops\sthe\scompiler\nfrom\sgoing\swrong,\splease\sreopen\sthis\sissue\sand\slet\sme\sknow\nso\sthat\swe\scan\sadd\sa\ssuitable\skludge...\n
J login dkf
J mimetype text/plain
J status Pending
J username dkf
K 1503729fffffffffffffffffffffffffffffffff
U dkf
Z b8f5103d30c62c5a38791344d5eeb04e