Bug 219370
Summary: | link error while compiling localio.c | ||
---|---|---|---|
Product: | File System | Reporter: | Janpieter Sollie (janpieter.sollie) |
Component: | NFSD | Assignee: | Mike Snitzer (snitzer) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | regressions, snitzer |
Priority: | P3 | ||
Hardware: | AMD | ||
OS: | Linux | ||
Kernel Version: | 6.12-rc2,6.12-rc1 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | fa4983862e506d395acc1b8d14dbebf63acc2e82 |
Attachments: | kernel .config |
Description
Janpieter Sollie
2024-10-10 07:09:04 UTC
sorry, turns out I was wrong (had to do a make clean before): removing the "trim unused exported symbols" option did NOT fix the issue, it simply masked it, turns out it was hidden somewhere else based on the bisected commit id, I turned off nfs localio option in kernel .config for 6.12-rc2, now it compiles. Guess that's not surprising FWIW, another report with similar symptoms can be found here: https://lore.kernel.org/all/D4OUJRP8YWRM.ATQ7KASTYX5H@mbosch.me/T/#u Was the problem resolved in between? And can I CC you on a lkml mail? This would expose your email address to the public. This was fixed via v6.12-rc3 commit 009b15b57485 ("nfs_common: fix Kconfig for NFS_COMMON_LOCALIO_SUPPORT") In the provided kernel config: CONFIG_NFS_FS=m CONFIG_NFSD_V4=y CONFIG_NFS_COMMON=y CONFIG_NFS_COMMON_LOCALIO_SUPPORT=m CONFIG_NFS_LOCALIO=y My Kconfig fix will result in CONFIG_NFS_LOCALIO=m so that the symbols are available to the nfs.ko kernel module. But if you have any further issues, certainly let me know. (In reply to Mike Snitzer from comment #5) > This was fixed via v6.12-rc3 commit 009b15b57485 ("nfs_common: fix > Kconfig for NFS_COMMON_LOCALIO_SUPPORT") > > In the provided kernel config: > > CONFIG_NFS_FS=m > CONFIG_NFSD_V4=y > CONFIG_NFS_COMMON=y > CONFIG_NFS_COMMON_LOCALIO_SUPPORT=m > CONFIG_NFS_LOCALIO=y > > My Kconfig fix will result in CONFIG_NFS_LOCALIO=m so that the symbols > are available to the nfs.ko kernel module. Sorry, to be clear, the fix results in: CONFIG_NFS_FS=m CONFIG_NFSD=y CONFIG_NFSD_V4=y CONFIG_NFS_COMMON=y CONFIG_NFS_COMMON_LOCALIO_SUPPORT=y CONFIG_NFS_LOCALIO=y |