Skip to content

kernel/common-config: fix build on i686 - #597165

Open
highghlow wants to merge 1 commit into
NixOS:masterfrom
highghlow:linux-fix-i686
Open

highghlow wants to merge 1 commit into
NixOS:masterfrom
highghlow:linux-fix-i686

Conversation

@highghlow

Copy link
Copy Markdown
Contributor

Things done

Fixes #597152

@K900 , tagging you back in. I don't really know why the AMD stuff is needed, but it does fix the build.

@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team December 3, 2026 18:47
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: kernel The Linux kernel labels Dec 3, 2026
X86_INTEL_PSTATE = yes;
X86_AMD_PSTATE = yes;
AMD_PMF_UTIL_SUPPORT = whenAtLeast "7.3" yes;
AMD_PMF_UTIL_SUPPORT = lib.mkIf stdenv.hostPlatform.is64bit (whenAtLeast "7.3" yes);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, so the dep chain here is CONFIG_AMD_PMF_UTIL_SUPPORT -> CONFIG_AMD_PMF -> CONFIG_AMD_SFH_HID -> CONFIG_X86_64, so this might just be better off as option yes because there's a bunch of places where this could break.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: kernel The Linux kernel 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: linuxPackages.kernel on i686-linux

2 participants