Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jul 2025 16:22:24 -0600
From:      "Brad Davis" <brd@FreeBSD.org>
To:        "Ruslan Bukin" <br@freebsd.org>, "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:  <ce926351-46f2-42bb-9930-6d6398ed5735@app.fastmail.com>
In-Reply-To: <aGbtAuBjzCkLVsbf@bsdpad.com>
References:  <202507031503.563F35kp095569@gitrepo.freebsd.org> <20250703181943.4476444d@thor.sb211.local> <aGbtAuBjzCkLVsbf@bsdpad.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 3, 2025, at 2:50 PM, Ruslan Bukin wrote:
> 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?

It now builds for me.  Thanks Ruslan!


Regards,
Brad Davis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ce926351-46f2-42bb-9930-6d6398ed5735>