Skip to content
Tcl Source Code History Of Ticket d58e315172
Login

History Of Ticket d58e315172

Artifacts Associated With Ticket d58e315172

  1. Ticket change [5486422532] (rid 236318) by jan.nijtmans on 2025-01-01 21:20:07:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      <pre>
      $ ./configure --enable-64bit=aarch64
      ...
      $ make
      ...
      In file included from tclWin32Dll.c:16:
      cpuid.h:14:2: error: this header is for x86 only
      #error this header is for x86 only
      </pre>
      
      This should tell enough about what's the problem.
      
      The problem arises from [6b0e324f18310b79|this] commit
      
    5. foundin initialized to: "any"
    6. is_private initialized to: "0"
    7. login: "jan.nijtmans"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0c50e5320704d174412e57b873d8932de15303e0"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "jan.nijtmans"
    14. subsystem initialized to: "52. Portability Support"
    15. title initialized to: "configure --enable-64bit=aarch64 broken"
    16. type initialized to: "Bug"
  2. Ticket change [5028e97fc9] (rid 236319) by jan.nijtmans on 2025-01-01 21:21:06:

    1. assignee changed to: "jan.nijtmans"
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  3. Ticket change [3cf7aea8fc] (rid 236320) by sebres on 2025-01-02 13:20:31:

    1. icomment:
      Which toolchain do you use exactly?
      
      I cannot reproduce it by this cross-compile (ARM64 mode) with gcc 8.1.0..14.2.0 (or with clang 19.1.1), neither from mingw nor from linux (aarch64-w64-mingw32-gcc).
      Any of them was built successfully.
      
      This was also another goal of the fix, since cpuid.h supports more targets than it was provided by inlined asm codes of tclWin32Dll.<br/>
      But seems to need a checker on configure phase now (to disable it with something like ifdef __arm__ or HAVE_CPUID would be too heavy in my opinion, since my toolchains compile it without any issue).
      
    2. login: "sebres"
    3. mimetype: "text/x-fossil-wiki"
  4. Ticket change [adf41a1ff3] (rid 236327) by jan.nijtmans on 2025-01-02 15:31:38:

    1. icomment:
      clang version 14.0.0 (https://github.com/llvm/llvm-project.git f5f0bd8e3d972d040827c88adf1a9880ebcb821e)
      Target: aarch64-w64-windows-gnu
      Thread model: posix
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  5. Ticket change [967a1686eb] (rid 236344) by sebres on 2025-01-02 16:39:26:

    1. icomment:
      I hope [2ca317244b985938] will fix it. Can you please confirm, Jan?
      
    2. login: "sebres"
    3. mimetype: "text/x-fossil-wiki"
  6. Ticket change [9b3468e182] (rid 236356) by jan.nijtmans on 2025-01-02 17:32:56:

    1. icomment:
      [371793e4b2ffd664|this] works. --enable-64bit=arm64 and --enable-64bit=aarch64 should be synonymes, which still didn't work correctly. That should be fixed now too.
      
      Thanks!
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  7. Ticket change [895d6d92bc] (rid 236360) by sebres on 2025-01-02 17:43:03:

    1. closedate changed to: "2460678.23823163"
    2. closer changed to: "sebres"
    3. icomment:
      Looks like that was another cross-compile issue, but...<br/>
      Let's close it then.
      
    4. login: "sebres"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
  8. Ticket change [1793b2a846] (rid 236361) by jan.nijtmans on 2025-01-02 17:48:39:

    1. closedate changed to: "2460678.24211911"
    2. closer changed to: "jan.nijtmans"
    3. icomment: "Many thanks for the fix!"
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
  9. Ticket change [ead86eec95] (rid 236432) by jan.nijtmans on 2025-01-05 20:44:57:

    1. closedate changed to: "2460681.36455022"
    2. icomment:
      Looking again at it, I think the handling of __cpuid can be simplified a lot more for 8.7 and 9.0 (but not for 8.6). We now only support MSVC 2015+, which means that intrinsics are always available. And we only support compilers with C11, which - I guess - all have <cpuid.h>. If not, not supplying __cpuid wouldn't be noticed by anyone.
      
      Here is my proposal for further simplifications: [https://core.tcl-lang.org/tcl/timeline?r=bug-d58e315172]
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"