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)
Sat, Oct 10, 10:52 AM
Unknown Object (File)
Fri, Oct 9, 6:56 PM
Unknown Object (File)
Thu, Oct 1, 10:58 AM
Unknown Object (File)
Wed, Sep 30, 8:23 AM
Unknown Object (File)
Tue, Sep 29, 6:46 PM
Unknown Object (File)
Tue, Sep 29, 6:41 PM
Unknown Object (File)
Tue, Sep 29, 4:29 PM
Unknown Object (File)
Tue, Sep 29, 2:56 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