Skip to content

[xanmod/config] disable `CONFIG_KVM_WERROR`

Alexandre Frade requested to merge github/fork/rmnscnce/fix-gcc12-error into 5.16

Created by: rmnscnce

Since GCC 12, GCC has implemented infinite recursion diagnostics. As a result, there are tons of warnings regarding it on kernel builds.

However, CONFIG_KVM_WERROR is enabled, so any such instances of warning got turned into an error when building the KVM subsystem. It has been causing build failures on Fedora 36 for a while, because it uses GCC 12 for the system compiler.

P.S.: Please also merge this into other active branches other than 5.16

Merge request reports