Skip to content
Tcl Source Code History Of Ticket 206e58994f3806ec
Login

History Of Ticket 206e58994f3806ec

Artifacts Associated With Ticket 206e58994f3806ec

  1. Ticket change [71a0ac08b2] (rid 196704) by dilfridge on 2021-12-02 21:38:26:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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
      
    5. foundin initialized to: "8.6.11"
    6. is_private initialized to: "0"
    7. login: "dilfridge"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Critical"
    11. status initialized to: "Open"
    12. submitter initialized to: "dilfridge"
    13. subsystem initialized to: "69. Other"
    14. title initialized to: "tcl builds with clang but fails to run correctly"
    15. type initialized to: "Bug"
  2. Add attachment "build.log" [20fc71deca] (rid 196705) by dilfridge on 2021-12-02 21:41:00.

  3. Ticket change [309347677f] (rid 196729) by chrstphrchvz on 2021-12-05 08:38:34:

    1. 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?
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [abf7334235] (rid 196769) by jan.nijtmans on 2021-12-08 15:54:55:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2459557.16313733"
    3. closer changed to: "jan.nijtmans"
    4. 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.
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"