Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2025 20:49:15 +0200
From:      A FreeBSD User <freebsd@walstatt-de.de>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   commit  df114daef4c48548c3c2b86717612761185ae18f broke buildkernel (HWT)
Message-ID:  <20250703204741.1288d1e4@thor.sb211.local>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hallo,

it seems commit  df114daef4c48548c3c2b86717612761185ae18f broke buildkernel, on all CURRENT
machines buildkernel is not possible due to


[...]
--- all_subdir_hwt ---
/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)
      |                                 ^
/usr/src/sys/sys/mutex.h:387:26: note: expanded from macro 'mtx_lock_spin'
  387 | #define mtx_lock_spin(m)        mtx_lock_spin_flags((m), 0)
      |                                 ^
/usr/src/sys/sys/mutex.h:456:2: note: expanded from macro 'mtx_lock_spin_flags'
  456 |         mtx_lock_spin_flags_((m), (opts), LOCK_FILE, LOCK_LINE)
      |         ^
/usr/src/sys/sys/mutex.h:433:2: note: expanded from macro 'mtx_lock_spin_flags_'
  433 |         __mtx_lock_spin((m), curthread, (opts), (file), (line))
      |         ^
/usr/src/sys/sys/mutex.h:259:2: note: expanded from macro '__mtx_lock_spin'
  259 |         spinlock_enter();                                               \
[...]

Fix in sight?

Kind regards,

oh


-- 

A FreeBSD user

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCaGbQxgAKCRCxzvs8Oqok
r1HSAP0Zd+bWMX9Ps1N4su9HzqkLnYSANSGFVwesvXdeOco7ugEA/7jGL+rKmXgs
gr1meW5dxTazYoApASDUaJQ9MWkquwM=
=LdO/
-----END PGP SIGNATURE-----
home | help

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