Bug 228826 - [devmatch] Crossbuilding ARM64 from AMD64 requires manual run of kldxref -R /boot
Summary: [devmatch] Crossbuilding ARM64 from AMD64 requires manual run of kldxref -R /...
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: arm64 Any
: --- Affects Some People
Assignee: John Baldwin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-08 14:30 UTC by Sean Bruno
Modified: 2024-01-14 00:36 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Bruno freebsd_committer freebsd_triage 2018-06-08 14:30:16 UTC
Crossbuilding ARM64 results in a bootable system that emits devmatch errors:

Starting devd.
devmatch: Can't read linker hints file.
devmatch: Can't read linker hints file.
devmatch: Can't read linker hints file.


This is repaired by running kldxref -R /boot
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2021-06-06 05:16:00 UTC
Also noticed on riscv64 (Beagle-V) 20210606.
Comment 2 John Baldwin freebsd_committer freebsd_triage 2024-01-14 00:36:39 UTC
This should now be fixed in recent main as kldxref is now a cross-tool.  The changes have not yet been merged anywhere though I will likely merge them at least for 14.1 (not sure if they will merge back cleanly to stable/13).