Overview
| Artifact ID: | 71a0ac08b281ba5dd1aefe40961a719126d4b3de58c8a99dcaf9776aae7c3681 |
|---|---|
| Ticket: | 206e58994f3806ec880a59ecc516ee632cd89424
tcl builds with clang but fails to run correctly |
| User & Date: | dilfridge on 2021-12-02 21:38:26 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "8.6.11"
- is_private changed to: "0"
- login: "dilfridge"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Critical"
- status changed to: "Open"
- submitter changed to: "dilfridge"
- subsystem changed to: "69. Other"
- title changed to: "tcl builds with clang but fails to run correctly"
- type changed to: "Bug"