Artifact
71a0ac08b281ba5dd1aefe40961a719126d4b3de58c8a99dcaf9776aae7c3681:
Ticket change
[71a0ac08b2]
- New ticket
[206e58994f3806ec|206e58994f] <i>tcl builds with clang but fails to run correctly</i>.
by
dilfridge on
2021-12-02 21:38:26.
D 2021-12-02T21:38:26.660
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment The\ssame\sbuild\swhich\sproduces\sa\sfully\sfunctional\stcl\susing\sgcc\salso\ssucceeds\swhen\susing\sclang,\sbut\sthe\sresulting\sbinary\sproduces\serratic\sresults.\s\r\n\r\nchan.test\sprints\sa\slot\sof\sfailures\sand\seventually\shangs.\sRandom\sexample:\s\r\n\r\n\r\n\r\n====\schan-io-3.5\sWriteChars:\ssaved\s!=\s0\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\s#\sBytes\sproduced\sby\sUtfToExternal\sfrom\send\sof\slast\schannel\sbuffer\shad\sto\r\n\s\s\s\s#\sbe\smoved\sto\sbeginning\sof\snext\schannel\sbuffer\sto\spreserve\srequested\r\n\s\s\s\s#\sbuffersize.\r\n\s\s\s\sset\sf\s[open\s$path(test1)\sw]\r\n\s\s\s\schan\sconfigure\s$f\s-encoding\sjis0208\s-buffersize\s17\r\n\s\s\s\schan\sputs\s-nonewline\s$f\s"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\r\n\s\s\s\sset\sx\s[list\s[contents\s$path(test1)]]\r\n\s\s\s\schan\sclose\s$f\r\n\s\s\s\slappend\sx\s[contents\s$path(test1)]\r\n\r\n----\sResult\swas:\r\n!)!)!)!)!)!)!)!)!\s!)!)!)!)!)!)!)!)!!)!)!)!)!)!)!\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\n!)!)!)!)!)!)!)!)!\s!)!)!)!)!)!)!)!)!)!)!)!)!)!)!)\r\n====\schan-io-3.5\sFAILED
J foundin 8.6.11
J is_private 0
J login dilfridge
J priority 5\sMedium
J resolution None
J severity Critical
J status Open
J submitter dilfridge
J subsystem 69.\sOther
J title tcl\sbuilds\swith\sclang\sbut\sfails\sto\srun\scorrectly
J type Bug
K 206e58994f3806ec880a59ecc516ee632cd89424
U dilfridge
Z a955da477b624c809320606c873ac7bd