Artifacts Associated With Ticket 1c4ba6fa409870b5
Ticket change [0129aeac2d] (rid 188513) by chrstphrchvz on 2020-11-12 07:57:08:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
Using Debian 10 aarch64 (Raspberry Pi 3B), i.e. 64-bit ARM rather than 32-bit. The configure script does not seem to detect it as a 64-bit platform, and explicitly requesting 64-bit support with <tt>--enable-64bit</tt> causes a warning: <pre> checking if compiler accepts -m64 flag... no configure: WARNING: 64bit support being disabled -- don't know magic for this platform </pre> (<tt>-m64</tt> does not appear to be a valid GCC flag on aarch64.) It is not clear to me what enabling/disabling 64-bit support actually does, or whether I should even be requesting 64-bit support on aarch64. I am not aware of anything that is broken—maybe it has no effect on aarch64 and is fine. But should this warning not be emitted? Could certain flags be missing from tclConfig.sh for not detecting a 64-bit platform? Might other non-amd64 64-bit Linux platforms be affected?
- foundin initialized to: "core-8-6-branch"
- is_private initialized to: "0"
- login: "chrstphrchvz"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Cosmetic"
- status initialized to: "Open"
- submitter initialized to: "chrstphrchvz"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to: "--enable-64bit and Linux aarch64"
- type initialized to: "Bug"
Ticket change [892feae7db] (rid 259390) by serhiy.storchaka on 2026-10-20 12:10:59:
- foundin changed to: "9.1.0"
- icomment:
Still present in 8.6, 9.0 and 9.1. On aarch64 the compiler is already 64-bit by default, so nothing is broken: the only effects are the warning and <nowiki>[tcl::pkgconfig get 64bit]</nowiki> being 0. Proposed fix in branch [/timeline?r=configure-64bit-default|configure-64bit-default], and the same in Tk branch [https://core.tcl-lang.org/tk/timeline?r=configure-64bit-default|configure-64bit-default]: when the compiler does not accept <tt>-m64</tt>, unix/tcl.m4 checks whether it is 64-bit by default (<tt>sizeof(void *) == 8</tt>) and accepts that. Checked with a compiler wrapper that rejects <tt>-m64</tt>, as aarch64 gcc does; x86-64 is unchanged. tclconfig (TEA) has the same check.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"