-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal glibc error: CPU does not support x86-64-v2 #1313
Comments
forgot to mention that this happens when using the CentOS Stream 9 boot.iso: https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/images/boot.iso |
Thanks for the report. There's currently no way to add to the qemu cmdline, but if you manually edit it you should be able to get it working. See https://github.com/weldr/lorax/blob/rhel9-branch/src/pylorax/installer.py#L179 for where it sets the machine type for UEFI. |
Actually, I just realized that the rhel9 branch already includes |
Well, thank you @bcl for pointing me in the right direction. In the end, it worked just by adding: if boot_uefi:
...
qemu_cmd += ["-cpu", "host"] This did the trick. Also, I wanted to clarify that I am trying to build a custom LiveCD for CentOS Stream 9 but from a Fedora 37 workstation. My lorax version is: lorax-37.8-1.fc37.x86_64 Thank you. |
Ah, that would explain it. So, FYI, usually you want to use the matching distribution/release version of lorax-composer to build things. It may mostly work enough of the time when cross-building, but it isn't tested that way, and has no provisions for checking the distribution or release being built. Also, see PR #1315 for a fix for this problem on Fedora :) |
Hello,
It seems that livemedia-creator is running into this issue.
If I could pass
-cpu host
toqemu-system-<arch>
this would not happen.I looked in the documentation and couldn't find how to do this.
The command I'm using is:
The text was updated successfully, but these errors were encountered: