Page MenuHomeFreeBSD

devmatch: read linker.hints from all module paths
ClosedPublic

Authored by bapt on May 6 2026, 1:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 9, 5:21 AM
Unknown Object (File)
Thu, Jun 4, 10:48 PM
Unknown Object (File)
Thu, Jun 4, 8:30 PM
Unknown Object (File)
Wed, Jun 3, 11:17 PM
Unknown Object (File)
Tue, Jun 2, 1:28 AM
Unknown Object (File)
Tue, Jun 2, 1:22 AM
Unknown Object (File)
Sat, May 30, 11:36 PM
Unknown Object (File)
Sat, May 30, 6:45 PM
Subscribers

Details

Reviewers
imp
Summary

Previously, devmatch would stop at the first linker.hints file
found in kern.module_path. This meant modules installed in
/boot/modules/ were invisible to devmatch if /boot/kernel/
contained a linker.hints file (which it always does).

Merge hints from all directories in kern.module_path.
This allows third-party or out-of-tree kernel modules in
/boot/modules/ to be auto-loaded by devmatch just like
built-in modules.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72846
Build 69729: arc lint + arc unit