Created attachment 892868 [details] build log [ebuild R ] net-misc/r8168-8.053.00 USE="strip use-firmware -dist-kernel -modules-compress -modules-sign"
Created attachment 892869 [details] emerge --info '=net-misc/r8168-8.053.00::gentoo'
Same here
persists with kernel 6.9.1
Created attachment 893157 [details] build log on kernel 6.9.1
This pull request got the module to build when applied as a patch but I have not tested it in use yet https://github.com/mtorromeo/r8168/commit/94426e16197c244d03aad0434e3490acdaa830fe.patch
runs fine here.
As expected CONFIG_TRIM_UNUSED_KSYMS works fine too.
Created attachment 894623 [details] KSYMS list for CONFIG_UNUSED_KSYMS_WHITELIST
Reporting back that the PR applied as a patch in my previous comment I have been using since a few minutes posting that comment has been working fine in regular use.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936e16fc58fb445b6dcf1b6b3bdf08444c91f22c commit 936e16fc58fb445b6dcf1b6b3bdf08444c91f22c Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2024-06-16 09:37:58 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2024-06-16 09:37:58 +0000 net-misc/r8168: Fix for kernel 6.9 Closes: https://bugs.gentoo.org/931878 Signed-off-by: Pacho Ramos <pacho@gentoo.org> .../r8168/files/r8168-8.053.00-kernel-6.9.patch | 119 +++++++++++++++++++++ net-misc/r8168/r8168-8.053.00.ebuild | 2 + 2 files changed, 121 insertions(+)