Created attachment 729531 [details, diff] 0001-Select-SECCOMP-options-only-if-supported.patch Some architectures (e.g., alpha, sparc) do not support SECCOMP. Without this kernel builds will show WARNING: unmet direct dependencies detected for SECCOMP Depends on [n]: HAVE_ARCH_SECCOMP [=n] Selected by [y]: - GENTOO_LINUX_INIT_SYSTEMD [=y] && GENTOO_LINUX [=y] && GENTOO_LINUX_UDEV [=y] WARNING: unmet direct dependencies detected for SECCOMP_FILTER Depends on [n]: HAVE_ARCH_SECCOMP_FILTER [=n] && SECCOMP [=y] && NET [=y] Selected by [y]: - GENTOO_LINUX_INIT_SYSTEMD [=y] && GENTOO_LINUX [=y] && GENTOO_LINUX_UDEV [=y]
Thanks for the patch. Queued up for the next release of 5.10 and 5.13.
Thanks! For future reference, you can simply apply the patch with `git am file.patch`. That way it correctly sets the author in the git history.
This patch broke the current kernels https://kernel1.amd64.dev.gentoo.org/#/builders/97/builds/4/steps/8/logs/stdio
Oops. That would be because I left out an "if": > select SECCOMP_FILTER HAVE_ARCH_SECCOMP_FILTER should be > select SECCOMP_FILTER if HAVE_ARCH_SECCOMP_FILTER (in both locations)
Fixed the 'if' in all branches
Released in latest genpatches and included in latest gentoo-sources