Skip to content
Tcl Source Code View Ticket
Login

View Ticket

zdll.lib for windows arm64 is compiled for wrong architecture

Closed / Fixedc59fd034fd4112ebf94fdebd7ea76ac606ef4e07Created 5 years agoUpdated 4 years ago
Descriptionplain2022-02-13 21:02:09
zdll.lib in compat\zlib\win64-arm seems to be compiled for ARM architecture rather than ARM64 architecture and this is causing link errors.

dumpbin.exe /headers .\win64-arm\zlib1.dll

FILE HEADER VALUES

 1C4 machine (ARM)
   3 number of sections
620244D5 time date stamp Tue Feb  8 10:24:21 2022
  D3 file pointer to symbol table
   2 number of symbols
   0 size of optional header
 100 characteristics
       32 bit word machine
Referenced by1
  • 1ef774c149Fix [c59fd034fd]: zdll.lib for windows arm64 is compiled for wrong architecture check-in2022-02-14 12:59:58
jan.nijtmanswiki2022-02-13 23:13:34

Will fix.

jan.nijtmanswiki2022-02-14 16:00:07

This should be fixed now.

Could you also check the "core-8-branch", please? This one is more complicated, since it needs the native tclsh to build the zipfs. And it has libtommath.dll (in addition to zlib1.dll), all libraries are no rebuilt to use the UCRT runtime (on x86_64) instead of msvcrt.

Thanks!

niyassaitplain2022-02-14 16:19:21
Thanks for the fix!

I've tried the `core-8-6-branch` and seems to be working fine.

I will try `core-8-branch`
niyassaitplain2022-02-15 09:05:39
`core-8-branch` seems fine as well.

Many thanks for the fix
jan.nijtmans Closed ticket [c59fd034fd]. [History diff]2022-07-13 14:55:29
Log in (anonymous is fine) to add a comment.