-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
GraalVMIssues tied with GraalVM native imagesIssues tied with GraalVM native imagesbugSomething isn't workingSomething isn't working
Description
Version(s)
Please provide the version(s) of Scala CLI that is affected by this bug
v1.12.1
Last working version: v1.12.0
Describe the bug
A clear and concise description of what the bug is.
On Linux Fedora CoreOS 6.17.12-300.fc43.x86_64 downloading and running scala-cli-x86_64-pc-linux directly from Github release page returns the following error:
scala-cli version
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.
To Reproduce
Please provide us with steps on how to reproduce the bug. Code snippets (or link to the used codebase) and used commands are especially useful.
curl -fL https://github.com/VirtusLab/scala-cli/releases/download/v1.12.1/scala-cli-x86_64-pc-linux.gz | gzip -d > scala-cli
chmod +x scala-cli
./scala-cli version
# error return
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.
curl -fL https://github.com/VirtusLab/scala-cli/releases/download/v1.12.0/scala-cli-x86_64-pc-linux.gz | gzip -d > scala-cli
chmod +x scala-cli
./scala-cli version
# everything works correctly
Scala CLI version: 1.12.0
Scala version (default): 3.8.0
Your Scala CLI version is outdated. The newest version is 1.12.1
It is recommended that you update Scala CLI through the same tool or method you used for its initial installation for avoiding the creation of outdated duplicates.
Expected behaviour
A clear and concise description of what you expected to happen.
running ./scala-cli version on newest version v1.12.1 should work with no error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
GraalVMIssues tied with GraalVM native imagesIssues tied with GraalVM native imagesbugSomething isn't workingSomething isn't working