25 Feb
2026
25 Feb
'26
12:26 p.m.
This fixes a problem with Wine build revealed by https://github.com/llvm/llvm-project/pull/179812. With that LLVM change, the compiler emits references to `__chkstk_arm64ec` from exit thunks. While these references are typically resolved by ntdll in user-mode, ntoskrnl does not provide this symbol, leading to undefined reference errors when building kernel-mode test modules. Although ARM64EC kernel modules obviously don't make much sense by themselves, there is no reason to prohibit compiler builtins in these modules regardless of the EC aspect. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10184