Re: git: a11d132f6c62 - main - devstat: Provide 32-bit compatibility
- In reply to: Dag-Erling_Smørgrav : "Re: git: a11d132f6c62 - main - devstat: Provide 32-bit compatibility"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jan 2026 16:58:18 UTC
On Mon, Jan 26, 2026, at 11:37 AM, Dag-Erling Smørgrav wrote: > "Drew Gallatin" <gallatin@freebsd.org> writes: > > In file included from /usr/src/sys/kern/subr_devstat.c:47: > > In file included from /usr/src/sys/compat/freebsd32/freebsd32.h:38: > > /usr/src/sys/sys/user.h:692:16: error: field has incomplete type 'struct kevent' > > 692 | struct kevent knt_event; > > | ^ > > /usr/src/sys/sys/user.h:692:9: note: forward declaration of 'struct kevent' > > 692 | struct kevent knt_event; > > This is a preexisting bug in <sys/compat/freebsd32/freebsd32.h> which > needs to include <sys/event.h> but doesn't. It is hidden from most > users by header pollution from the VIMAGE option. Thanks for the quick fix. I'm an oddball b/c I cannot stand VIMAGE (makes network stuff incredibly frustrating to debug and adds overhead). > > include GENERIC-NODEBUG > > [...] > > nooptions INVARIANTS > > nooptions INVARIANT_SUPPORT > > nooptions WITNESS > > nooptions WITNESS_SKIPSPIN > > nooptions BUF_TRACKING > > nooptions DEADLKRES > > nooptions FULL_BUF_TRACKING > > nooptions COVERAGE > > nooptions KCOV > > These lines are already included in GENERIC-NODEBUG. Indeed.. Thanks again, Drew