systemd uses the kcmp() syscall. In older kernel versions, this syscall was coupled to the CONFIG_CHECKPOINT_RESTORE option. In 5.12, it was given its own config option (CONFIG_KCMP). See commit bfe3911a91047557eb0e620f95a370aee6a248c7. This was backported to 5.10 in commit 1ea36020950d44ef9152d832887a0c1cee0edee2. I have updated the systemd ebuild to check for KCMP instead.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=3b04d123fde8dc5a19f647c83a59dedcbac92f06 commit 3b04d123fde8dc5a19f647c83a59dedcbac92f06 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2021-10-18 21:14:04 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2021-10-18 21:14:04 +0000 For systemd, select CONFIG_KCMP as systemd uses the kcmp() call Originally tied to CHECKPOINT_RESTORE. Thanks to Mike Gilbert for reporting. Bug: https://bugs.gentoo.org/818832 Signed-off-by: Mike Pagano <mpagano@gentoo.org> 4567_distro-Gentoo-Kconfig.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)