yamlscript icon indicating copy to clipboard operation
yamlscript copied to clipboard

Error: "The current machine does not support... CPU features... required by the image"

Open danielmartincraig opened this issue 9 months ago • 2 comments

Hi, thanks for a very interesting tool. On my low-end computer I see the following error message when I run ys:

The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].
Please rebuild the executable with an appropriate setting of the -march option.% 

I'm running ys on Debain 12 (Bookwork) within Windows Subsystem for Linux on a low-end laptop (Intel(R) Celeron(R) N4120 CPU @ 1.10GHz 1.10 GHz)

danielmartincraig avatar Apr 27 '24 19:04 danielmartincraig

I'll try adding a special binary build with -march=compatibility from https://www.graalvm.org/latest/reference-manual/native-image/overview/Options/ and you can test that for me. Might be a day or 2.

Note that you can also build ys yourself by cloning the repo and running make -C ys build install. I doubt you'll need to change any settings if you do it that way.

ingydotnet avatar Apr 29 '24 07:04 ingydotnet

Thanks for the quick response! I'll try building it myself and see how it goes!

danielmartincraig avatar Apr 29 '24 13:04 danielmartincraig