In 95c20faf11a1 and ecd8245e0d77 kib introduced support to have the kernel linker stop resolving local symbols from other files, but did not enable it by default to avoid surprises. Flip the default now, in advance of FreeBSD 15.0. The debug.link_elf_leak_locals sysctl is available to revert to the previous behaviour if necessary.
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
drm-kmod will not load after this change without the fix in https://github.com/freebsd/drm-kmod/pull/338
Heads-up posted to current mailing list https://lists.freebsd.org/archives/freebsd-current/2025-March/007180.html
@mav reported a regression; at least one issue is linux.ko depends on kern_kmq_open as of 97add684f5306ebf93be238a0340597ba1898d0e. Now fixed by eb90470f5f2a0e5c820c47be329423f5c60ca247 and a897492770735d4e5a55cbc06a02e267ca41f5b8. @cy reported a regression when agp is loaded as a module, fixed by a87c1e2dd8fc997d6ee603c252c543afe8a4d2a4.
I have found three more regressions in local testing
- cxgbe et al, CC'd @jhb and @np
- bxnd et al
- e6000sw, CC'd @adrian
Also encountered a kernel panic that's unrelated to this but means modules alphabetically after kgssapi did not get tested. D53949 is open for that.
Given these new issues and the US Thanksgiving holiday I'll hold off for a little while before recommitting.