From 461ebe44ab55eae6978315196ce96a1e8e5312d3 Mon Sep 17 00:00:00 2001 From: Daniel Samson <12231216+daniel-samson@users.noreply.github.com> Date: Thu, 22 Jan 2026 00:10:28 +0000 Subject: [PATCH] fix(native): add -march=compatibility for broader CPU support Windows binary was crashing with STATUS_ILLEGAL_INSTRUCTION on x64 emulated environments (like Parallels on ARM Macs). GraalVM native-image by default uses CPU features detected at build time. Adding -march=compatibility ensures the binary uses only baseline x86-64 instructions that work across all x64 CPUs and emulators. Co-Authored-By: Claude Opus 4.5 --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index da4dfd2..72faccf 100644 --- a/pom.xml +++ b/pom.xml @@ -393,6 +393,7 @@ --no-fallback -H:+ReportExceptionStackTraces --enable-url-protocols=https + -march=compatibility