Closed gavr123456789 closed 2 weeks ago
I assume this is very similar to https://github.com/oracle/graal/issues/6234
Could you please share a reproducer? Thank you
Fixed in #10050. This only happens on Intel CPUs with performance and economy cores; should be backported.
Thanks! Then I completely forgot what to add to the reproducer, but in fact this is any hello world project
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