|
2025-01-08
| ||
| 11:28 | (cherry-pick): Simplification for [d58e315172] version -> 8.6.17 for futher development check-in: 59a525eb93 user: jan.nijtmans tags: core-8-6-branch | |
| 08:36 | (cherry-pick): Simplification for [d58e315172] check-in: 1dd56a242c user: jan.nijtmans tags: core-8-branch | |
|
2025-01-07
| ||
| 15:42 | Simplification for [d58e315172] check-in: 4e87493367 user: jan.nijtmans tags: trunk, main | |
|
2025-01-05
| ||
| 20:44 | • Ticket [d58e315172] configure --enable-64bit=aarch64 broken status still Clo... artifact: ead86eec95 user: jan.nijtmans | |
| 20:38 | Simplification for [d58e315172] check-in: 1c27785451 user: jan.nijtmans tags: bug-d58e315172 | |
|
2025-01-02
| ||
| 17:48 | • Ticket [d58e315172] configure --enable-64bit=aarch64 broken status still Clo... artifact: 1793b2a846 user: jan.nijtmans | |
| 17:43 | • Closed ticket [d58e315172]. artifact: 895d6d92bc user: sebres | |
| 17:35 | Fix [d58e31517203396e]: configure --enable-64bit=aarch64 broken check-in: 74eba1ba33 user: jan.nijtmans tags: trunk, main | |
| 17:32 | • Ticket [d58e315172] configure --enable-64bit=aarch64 broken status still Ope... artifact: 9b3468e182 user: jan.nijtmans | |
| 17:31 | Fix [d58e31517203396e]: configure --enable-64bit=aarch64 broken check-in: 7576f0b167 user: jan.nijtmans tags: core-8-branch | |
| 16:39 | • Ticket [d58e315172] configure --enable-64bit=aarch64 broken status still Ope... artifact: 967a1686eb user: sebres | |
| 16:37 | win/configure: check whether cpuid-header natively supported for the target architecture (possible f... check-in: 2ca317244b user: sebres tags: core-8-6-branch | |
| 15:31 | • Ticket [d58e315172] configure --enable-64bit=aarch64 broken status still Ope... artifact: adf41a1ff3 user: jan.nijtmans | |
| 13:20 | • Ticket [d58e315172]: 3 changes artifact: 3cf7aea8fc user: sebres | |
|
2025-01-01
| ||
| 21:21 | • Ticket [d58e315172]: 3 changes artifact: 5028e97fc9 user: jan.nijtmans | |
| 21:20 | • New ticket [d58e315172]. artifact: 5486422532 user: jan.nijtmans | |
configure --enable-64bit=aarch64 broken
$ ./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
This should tell enough about what's the problem.
The problem arises from [this] commit
59a525eb93(cherry-pick): Simplification for [d58e315172] version -> 8.6.17 for futher development check-in2025-01-08 11:28:361dd56a242c(cherry-pick): Simplification for [d58e315172] check-in2025-01-08 08:36:244e87493367Simplification for [d58e315172] check-in2025-01-07 15:42:151c27785451Simplification for [d58e315172] check-in2025-01-05 20:38:40
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.
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).
clang version 14.0.0 (https://github.com/llvm/llvm-project.git f5f0bd8e3d972d040827c88adf1a9880ebcb821e) Target: aarch64-w64-windows-gnu Thread model: posix
I hope [2ca317244b985938] will fix it. Can you please confirm, Jan?
[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!
Looks like that was another cross-compile issue, but...
Let's close it then.
Many thanks for the fix!
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