Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 781a8208b4aa6fa6f741a6d58514a3c8e81ef70714eeaf0734b187ac64ba1f91
Ticket: 8f7fdea2dfe5a2955cf729aa7c5a433f290d9112
string-2.20.1 fails on big endian
User & Date: max on 2023-01-12 13:47:36
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    We recently found that string-2.20.1 fails when building Tcl for SUSE Linux on big endian platforms like PPC, PPC64 and s390x.
    
    It turned out that the failing test was new in 8.6.13, but bisecting the code revealed that the actual bug had been there since 2018: [1841bf54d1b3257e].
    
    The actual bug was in an optimisation that gets used differently on big endian than on little endiean and that didn't handle the distinction between chars and bytes correctly in at least some cases.
    
    As a workaround I removed the optimisation (will attach the patch), and will leave it up to others that are more familiar with the code than I am to decide if it should be left out or fixed.
    
  5. foundin changed to: "8.6.13"
  6. is_private changed to: "0"
  7. login: "max"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "d0d0130695c671d8c2d3cab5f9bc3575b9d369e4"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "max"
  14. subsystem changed to: "18. Commands M-Z"
  15. title changed to: "string-2.20.1 fails on big endian"
  16. type changed to: "Bug"