-
Notifications
You must be signed in to change notification settings - Fork 14
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
System does not run with "-march=znver4" or "-march=native" aocc (clang) compiler option #2062
Comments
Couple of initial thoughts to start narrowing down why this is happening.
|
Well, I only tested with the official aocc version 5 from AMD. I already spent some time with that...
I did not test this in a virtual machine myself. And yes, I made my system unbootable, because I did not make sure, that a "safe" kernel was left to boot from. Thanks. |
N. B. Note CONFIG_MK8=y in the config file! In the file arch/x86/Makefile I changed cflags-$(CONFIG_MK8) += -march=k8 to cflags-$(CONFIG_MK8) += -march=znver4 to have the compiler option changed. Regards. |
Hallo,
FYI:
I tested compiling the latest (6.12.6) version on x86_64 with AMD's aocc version 5 (clang 17.0.6), but the boot process stalls at "Loading initial ramdisk."
See the question I raised here:
https://forums.opensuse.org/t/self-compiled-linux-6-12-6-kernel-issues-with-initial-ramdisk/181413
If I compile with "-mtune=znver4" the boot process continues without any issues.
The text was updated successfully, but these errors were encountered: