Artifacts Associated With Ticket a1aaca786b
Ticket change [33a7af3b3a] (rid 213872) by griffin on 2023-04-26 02:54:19:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- 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.
- foundin initialized to: "9.0"
- is_private initialized to: "0"
- login: "griffin"
- priority initialized to: "5 Medium"
- private_contact initialized to: "21780c4e03cc5884af69addd6efc1b71c50d9818"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "griffin"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to: "Configure & build 32-bit Linux not working"
- type initialized to: "Bug"
Ticket change [79de662cc3] (rid 213919) by chrstphrchvz on 2023-04-26 17:05:54:
- 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]
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [3b651be091] (rid 213920) by griffin on 2023-04-26 17:31:42:
- 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?
- login: "griffin"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [33d0618724] (rid 213930) by jan.nijtmans on 2023-04-26 19:31:12:
- 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)
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [9f9669b5cf] (rid 213939) by chrstphrchvz on 2023-04-27 04:40:18:
- 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].
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [49c9bb84c2] (rid 214669) by chrstphrchvz on 2023-05-06 19:14:03:
- icomment:
Someone opened a ticket for the lseq-3.31 failure for 8.7 on 32-bit: [a1aaca786b]
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [a0c08ed7ed] (rid 214670) by chrstphrchvz on 2023-05-06 19:16:15:
- icomment:
Sorry, I meant to link to [63530267aa57] in the previous comment.
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [6459b26302] (rid 215811) by chrstphrchvz on 2023-06-20 20:28:45:
- icomment:
The crashes in cmdIL-1.43 and lsearch-28.10 were reported again in [c13819225ee3] and are now fixed.
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [f4d61c8318] (rid 216615) by jan.nijtmans on 2023-07-20 13:22:58:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2460146.05762549"
- closer changed to: "jan.nijtmans"
- 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!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [20f0efac4e] (rid 216620) by chrstphrchvz on 2023-07-20 14:10:09:
- closedate changed to: "2460146.09038566"
- closer changed to: "chrstphrchvz"
- icomment:
Would it help/be feasible to have a Linux <tt>-m32</tt> workflow to GitHub Actions, at least for Tcl?
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
Ticket change [a484a52758] (rid 216621) by jan.nijtmans on 2023-07-20 14:32:44:
- closedate changed to: "2460146.10607295"
- closer changed to: "jan.nijtmans"
- 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!)
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"