Artifacts Associated With Ticket 206e58994f3806ec
Ticket change [71a0ac08b2] (rid 196704) by dilfridge on 2021-12-02 21:38:26:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The same build which produces a fully functional tcl using gcc also succeeds when using clang, but the resulting binary produces erratic results. chan.test prints a lot of failures and eventually hangs. Random example: ==== chan-io-3.5 WriteChars: saved != 0 FAILED ==== Contents of test case: # Bytes produced by UtfToExternal from end of last channel buffer had to # be moved to beginning of next channel buffer to preserve requested # buffersize. set f [open $path(test1) w] chan configure $f -encoding jis0208 -buffersize 17 chan puts -nonewline $f "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" set x [list [contents $path(test1)]] chan close $f lappend x [contents $path(test1)] ---- Result was: !)!)!)!)!)!)!)!)! !)!)!)!)!)!)!)!)!!)!)!)!)!)!)! ---- Result should have been (exact matching): !)!)!)!)!)!)!)!)! !)!)!)!)!)!)!)!)!)!)!)!)!)!)!) ==== chan-io-3.5 FAILED - foundin initialized to: "8.6.11"
- is_private initialized to: "0"
- login: "dilfridge"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Critical"
- status initialized to: "Open"
- submitter initialized to: "dilfridge"
- subsystem initialized to: "69. Other"
- title initialized to: "tcl builds with clang but fails to run correctly"
- type initialized to: "Bug"
Add attachment "build.log" [20fc71deca] (rid 196705) by dilfridge on 2021-12-02 21:41:00.
Ticket change [309347677f] (rid 196729) by chrstphrchvz on 2021-12-05 08:38:34:
- icomment:
Is the reporter is using LLVM Clang 13 or newer? If so, is this issue a duplicate of [24b9181478], i.e. fixed in Tcl 8.6.12?
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [abf7334235] (rid 196769) by jan.nijtmans on 2021-12-08 15:54:55:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2459557.16313733"
- closer changed to: "jan.nijtmans"
- icomment:
Yes, this looks exactly like a duplicate of [24b9181478]. Closing. @dilfridge, if you still find this problem - somehow - in 8.6.12, please re-open this ticket.
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"