Unable to run on fedora 40: Fatal glibc error: CPU does not support x86-64-v2
Open
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 190
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
I am currently trying to run the graalvm native image community but I can't on a fedora 40 VM:
$ docker run --rm -it --platform linux/x86_64 --entrypoint=/bin/sh ghcr.io/graalvm/native-image-community:21
Fatal glibc error: CPU does not support x86-64-v2
I checked and it looks my VM supports x86-64-v2:
$ ld.so --help
...
Shared library search path:
(libraries located via /etc/ld.so.cache)
/lib64 (system search path)
/usr/lib64 (system search path)
Subdirectories of glibc-hwcaps directories, in priority order:
x86-64-v4
x86-64-v3
x86-64-v2
I don't have such problems in my windows machine
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported docker run command for ghcr.io/graalvm/native-image-community:21 on a Fedora 40 VM and compare it with the Windows result. Investigate the image's x86-64-v2 CPU requirement against the VM's actual CPU features; done means identifying the compatibility cause and documenting or validating a resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, fedora, linux
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100