You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resulting binary runs on the same machine on which it was compiled.
Actual Behavior
Getting
The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, AMD_3DNOW_PREFETCH, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, TSC, TSCINV_BIT, AVX, AVX2, AES, ERMS, CLMUL, BMI1, BMI2, ADX, SHA, FMA, VZEROUPPER, FLUSH, FLUSHOPT, CLWB, SERIALIZE, RDTSCP, RDPID, FSRM, GFNI, F16C, PKU, OSPKE, CET_IBT, CET_SS].
Please rebuild the executable with an appropriate setting of the -march option.⏎
Steps to Reproduce
Build any binary with -march=native flag, try to run it.
Additional Context
If I remove -march=native I can run the binary.
Build Log Output and Error Messages
No response
The text was updated successfully, but these errors were encountered:
Describe the Issue
Can't run the binary which was compiled with
-march=native
, if this flags removed, it runs.CPU: 12th Gen Intel® Core™ i9-12900H × 20
This was not the case with GraalVM 21.
Using the latest version of GraalVM can resolve many issues.
GraalVM Version
Operating System and Version
Linux precision5570 6.11.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 01 Nov 2024 03:30:35 +0000 x86_64 GNU/Linux
Build Command
Using
id("org.graalvm.buildtools.native") version "0.10.3"
Expected Behavior
The resulting binary runs on the same machine on which it was compiled.
Actual Behavior
Getting
Steps to Reproduce
Build any binary with
-march=native
flag, try to run it.Additional Context
If I remove
-march=native
I can run the binary.Build Log Output and Error Messages
No response
The text was updated successfully, but these errors were encountered: