Skip to content
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

"AMD Zen 3" not available in "Processor family" in kernel config (menuconfig) with gcc-10.3.0 #75

Closed
victor-vc opened this issue Jun 16, 2021 · 4 comments

Comments

@victor-vc
Copy link

According to https://github.com/graysky2/kernel_compiler_patch/blob/master/more-uarches-for-kernel-5.8%2B.patch#L38 and https://github.com/graysky2/kernel_compiler_patch/blob/master/more-uarches-for-kernel-5.8%2B.patch#L61, the "AMD Zen 3" option (-march=znver3) requires GCC version >=10.3. However, https://github.com/graysky2/kernel_compiler_patch/blob/master/more-uarches-for-kernel-5.8%2B.patch#L222 states "depends on ( CC_IS_GCC && GCC_VERSION > 100300 )", so the kernel cannot be compiled for Zen 3 with GCC 10.3.

@pfactum
Copy link
Contributor

pfactum commented Jun 16, 2021

My bad! 2eb521e

@graysky2 shall you fix this directly, or I will submit a PR?

@graysky2
Copy link
Owner

Should be >= I believe, yes? I can change it.

@victor-vc
Copy link
Author

Yes, it should be "depends on GCC_VERSION >= 100300"

@graysky2
Copy link
Owner

graysky2 commented Jun 16, 2021

Thanks for reporting, please verify functionality and I will tag a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants