Going to test on a VM if it works as simply as for 4.18 :)
Built glibc on ~amd64, survived a reboot: --- 4.18/gentoo-headers-base-4.18/rip-headers.sh 2018-10-13 00:38:44.000000000 +0200 +++ 4.19/gentoo-headers-base-4.19/rip-headers.sh 2018-10-23 10:59:32.551484344 +0200 @@ -44,6 +44,7 @@ ${src}/scripts/{Makefile,Kbuild}* \ ${src}/scripts/unifdef.c \ ${src}/scripts/*.{sh,pl} \ + ${src}/scripts/subarch.include \ ${dst}/scripts/ mkdir -p ${dst}/scripts/basic printf '#!/bin/sh\nexit 0' > ${dst}/scripts/basic/fixdep
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/toolchain/linux-headers-patches.git/commit/?id=617731890c0f515b7318101a828f6ca2f6e5db08 commit 617731890c0f515b7318101a828f6ca2f6e5db08 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-10-23 22:32:31 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-10-23 22:32:31 +0000 4.19: copy 4.18 patches as-is Reported-by: Tomáš Mózes Bug: https://bugs.gentoo.org/669388 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> ...0001-linux-stat.h-remove-__GLIBC__-checks.patch | 28 ++++++++ 4.19/00_all_0002-netfilter-pull-in-limits.h.patch | 28 ++++++++ 4.19/00_all_0003-convert-PAGE_SIZE-usage.patch | 54 +++++++++++++++ ...ric-fcntl.h-namespace-kernel-file-structs.patch | 54 +++++++++++++++ ..._0005-unifdef-drop-unused-errno.h-include.patch | 32 +++++++++ ...build-relocs-tool-when-installing-headers.patch | 33 ++++++++++ ...k-drop-int-cast-on-length-arg-in-NLMSG_OK.patch | 43 ++++++++++++ ...008-uapi-fix-System-V-buf-header-includes.patch | 76 ++++++++++++++++++++++ 8 files changed, 348 insertions(+) https://gitweb.gentoo.org/proj/toolchain/linux-headers-patches.git/commit/?id=d8781d5edf104b0a6fc43f26c4d135ccada59b47 commit d8781d5edf104b0a6fc43f26c4d135ccada59b47 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-10-23 22:30:49 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-10-23 22:30:49 +0000 rip-headers.sh: account for scripts/subarch.include in 4.19+ Patch-by: Tomáš Mózes Bug: https://bugs.gentoo.org/669388 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> rip-headers.sh | 3 +++ 1 file changed, 3 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47087e69a1170b66818ebf172dbf23169b51763a commit 47087e69a1170b66818ebf172dbf23169b51763a Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-10-23 22:39:56 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-10-23 22:43:20 +0000 sys-kernel/linux-headers: bump up to 4.19 Reported-by: Tomáš Mózes Closes: https://bugs.gentoo.org/669388 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-kernel/linux-headers/Manifest | 2 + sys-kernel/linux-headers/linux-headers-4.19.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 62 insertions(+)
Thanks Sergei.