We are trying to build V8 (commit 50d767cfc52, Chromium 104.0.5112.102) with ARM64EC support.
Since ARM64EC requires a newer toolchain, we upgraded Clang 15 → Clang 21 and Visual Studio → 17.14.6 / Windows SDK 26100.
To make the code compatible with the newer Clang, we applied minor fixes based on the compilation errors reported.
These changes build and run correctly for:
C:\code\chromium_git\chromium\src\out\Debug_GN_arm64ec>d8.exe hello.js
==== C stack trace ===============================
(No symbol) [0x0000024F9792CD00]
$iexit_thunk$cdecl$i8$i8i8i8i8i8i8 [0x00007FFA40A6A6B8+28]
This issue occurs only with ARM64EC builds, while x64 and ARM64 builds work correctly under the same toolchain and with the minor code adjustments required for newer Clang.
Reference issue:
Could you give me some suggestions about this issue? Thanks.