Bug 283041 - unable to build arm64 kernel on current
Summary: unable to build arm64 kernel on current
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm64 Any
: --- Affects Many People
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-29 18:15 UTC by Kim Shrier
Modified: 2024-11-29 20:14 UTC (History)
3 users (show)

See Also:


Attachments
patch to add the creation of device_if.h and bus_if.h for arm64 kernel builds (706 bytes, application/mbox)
2024-11-29 18:15 UTC, Kim Shrier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Shrier 2024-11-29 18:15:50 UTC
Created attachment 255529 [details]
patch to add the creation of device_if.h and bus_if.h for arm64 kernel builds

When doing a `make buildkernel` on recent versions of FreeBSD current for arm64, it fails because device_if.h and bus_if.h files are missing.  Both sys/conf/Makefile.arm and sys/conf/Makefile.riscv have the same hack I have added to sys/conf/Makefile.arm64.
Comment 1 Warner Losh freebsd_committer freebsd_triage 2024-11-29 18:29:07 UTC
this likely should be for all platforms, not adding them one at a time... 

And buildkernel works for me... Is there something that you do differently than I do?

I'll check into it, though, since something is amiss.
Comment 2 Mark Millard 2024-11-29 19:09:10 UTC
Why is the attachment in "application/mbox" format (well, MIME type)?
Comment 3 Warner Losh freebsd_committer freebsd_triage 2024-11-29 20:14:13 UTC
hmmm, maybe the right answer is to just remove it from all three places...
Checking that out now...
Comment 4 Warner Losh freebsd_committer freebsd_triage 2024-11-29 20:14:44 UTC
(In reply to Mark Millard from comment #2)
I can read it, and it's fine.
It's the output of git format-patch