Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2026 17:37:31 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        "Drew Gallatin" <gallatin@freebsd.org>
Cc:        src-committers@freebsd.org,  dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: a11d132f6c62 - main - devstat: Provide 32-bit compatibility
Message-ID:  <86jyx4e3ec.fsf@ltc.des.dev>
In-Reply-To: <d5878bcd-b7b7-4acc-9897-7f7041d0643d@app.fastmail.com> (Drew Gallatin's message of "Mon, 26 Jan 2026 10:55:27 -0500")
References:  <697757ba.b040.558a1a55@gitrepo.freebsd.org> <d5878bcd-b7b7-4acc-9897-7f7041d0643d@app.fastmail.com>

index | next in thread | previous in thread | raw e-mail

"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.

> 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.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86jyx4e3ec.fsf>