Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2025 21:50:10 +0100
From:      Ruslan Bukin <br@freebsd.org>
To:        A FreeBSD User <freebsd@walstatt-de.de>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: df114daef4c4 - main - Import the Hardware Trace (HWT) framework.
Message-ID:  <aGbtAuBjzCkLVsbf@bsdpad.com>
In-Reply-To: <20250703181943.4476444d@thor.sb211.local>
References:  <202507031503.563F35kp095569@gitrepo.freebsd.org> <20250703181943.4476444d@thor.sb211.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 03, 2025 at 06:19:16PM +0200, A FreeBSD User wrote:
> 
> The commit breaks buildkernel:
> 
> [...]
> /usr/src/sys/dev/hwt/hwt_contexthash.c:82:2: error: call to undeclared function
> 'spinlock_enter'; ISO C99 and later do not support implicit function declarations
> [-Werror,-Wimplicit-function-declaration] 82 |         HWT_CTXHASH_LOCK(); |         ^
> /usr/src/sys/dev/hwt/hwt_contexthash.h:39:28: note: expanded from macro 'HWT_CTXHASH_LOCK'
>    39 | #define HWT_CTXHASH_LOCK()      mtx_lock_spin(&hwt_contexthash_mtx)
> 

Dear FreeBSD user, thanks for your report. This should now be fixed. Could you confirm it builds?

Roseland



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