Skip to content
Tcl Source Code History Of Ticket a1aaca786bd47ee0
Login

History Of Ticket a1aaca786bd47ee0

Artifacts Associated With Ticket a1aaca786bd47ee0

  1. Ticket change [33a7af3b3a] (rid 213872) by griffin on 2023-04-26 02:54:19:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      Some tweaks are required to get Tcl to build 32-bit executables on Linux (modern ubuntu in my case).
      
      --disable-64bit is insufficient, also must supply CFLAGS=-m32 to configure.  
      And, dltest makefile needs tweaking, specifically, the linker needs -m32 as well to create the .so
      
      Then, if/when you get a build, there are regression failures: 
      
         * Test files exiting with errors:  cmdIL.test  http.test  lsearch.test
         * Files with failing tests:  cmdAH.test http.test http.test
         * There are failures in lseq.test, but I am currently addressing them.
      
    5. foundin initialized to: "9.0"
    6. is_private initialized to: "0"
    7. login: "griffin"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "21780c4e03cc5884af69addd6efc1b71c50d9818"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "griffin"
    14. subsystem initialized to: "53. Configuration and Build Tools"
    15. title initialized to: "Configure & build 32-bit Linux not working"
    16. type initialized to: "Bug"
  2. Ticket change [79de662cc3] (rid 213919) by chrstphrchvz on 2023-04-26 17:05:54:

    1. icomment:
      To clarify, is this about building natively on an IA32 (32-bit x86) OS, or from an AMD64 OS (particularly given how Ubuntu is now unsupported on IA32)? I had been building Tcl 9.0 on Arch Linux 32 for a while, but don’t recall encountering these issues. Note that there is interest in requiring 64-bit <tt>time_t</tt>, which only fairly recent glib and IA32 Linux kernels support: [d40b9c8503]
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-fossil-wiki"
  3. Ticket change [3b651be091] (rid 213920) by griffin on 2023-04-26 17:31:42:

    1. icomment:
      Yes, this is an AMD64 OS with 32bit libraries and headers also installed to allow 32-bit x86 compilation. AFAICT --disable-64bit is a no-op in this environment, reverting to the default 64-bit compilation.
      
      This might be a useless configuration, but it's a lot easier to find 32-bit issues than having to have a whole 32-bit machine/OS for testing.
      
      Do the regression tests all pass in the IA32 Arch Linux?
      
    2. login: "griffin"
    3. mimetype: "text/x-markdown"
  4. Ticket change [33d0618724] (rid 213930) by jan.nijtmans on 2023-04-26 19:31:12:

    1. icomment:
      Just letting you know that I'm aware of these problems. It would be nice if those can be fixed. I'll have a look as well (as time permits)
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  5. Ticket change [9f9669b5cf] (rid 213939) by chrstphrchvz on 2023-04-27 04:40:18:

    1. icomment:
      I checked again for test failures not due to undefined behavior or memory leak sanitizer reports interfering with test output. I observe the division-by-zero crash in both cmdIL-1.43 and lsearch-28.10. Other failures are cmdMZ-6.6 and lseq-3.31. Building with <tt>-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64</tt> prevents cmdAH-24.20.1 and cmdAH-24.20.2 from failing as described in [d40b9c8503].
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-fossil-wiki"
  6. Ticket change [49c9bb84c2] (rid 214669) by chrstphrchvz on 2023-05-06 19:14:03:

    1. icomment:
      Someone opened a ticket for the lseq-3.31 failure for 8.7 on 32-bit: [a1aaca786b]
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-fossil-wiki"
  7. Ticket change [a0c08ed7ed] (rid 214670) by chrstphrchvz on 2023-05-06 19:16:15:

    1. icomment:
      Sorry, I meant to link to [63530267aa57] in the previous comment.
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-fossil-wiki"
  8. Ticket change [6459b26302] (rid 215811) by chrstphrchvz on 2023-06-20 20:28:45:

    1. icomment:
      The crashes in cmdIL-1.43 and lsearch-28.10 were reported again in [c13819225ee3] and are now fixed.
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-fossil-wiki"
  9. Ticket change [f4d61c8318] (rid 216615) by jan.nijtmans on 2023-07-20 13:22:58:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2460146.05762549"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Well, I tried this "./configure CFLAGS=-m32" on Ubuntu-23.04. All seems to be working fine now, starting with commit [c9cc9266217ab213].
      
      Many thanks to @chrstphrchvz for all the help!
      
      That doesn't mean all 32-bit issues are gone, just that there is no test-case yet for the remaining failures ;-) So, please, continue reporting!
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
  10. Ticket change [20f0efac4e] (rid 216620) by chrstphrchvz on 2023-07-20 14:10:09:

    1. closedate changed to: "2460146.09038566"
    2. closer changed to: "chrstphrchvz"
    3. icomment:
      Would it help/be feasible to have a Linux <tt>-m32</tt> workflow to GitHub Actions, at least for Tcl?
      
    4. login: "chrstphrchvz"
    5. mimetype: "text/x-fossil-wiki"
  11. Ticket change [a484a52758] (rid 216621) by jan.nijtmans on 2023-07-20 14:32:44:

    1. closedate changed to: "2460146.10607295"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      > Would it help/be feasible to have a Linux -m32 workflow to GitHub Actions, at least for Tcl?
      
      Good idea! (@chrstphrchvz, do you have commit rights on core.tcl-lang.org? You should have!)
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"