[Bug 282479] LinuxKPI: <linux/lockdep.h> lockdep_is_held() user doesn't build after LLVM 19 import
Date: Sat, 02 Nov 2024 00:02:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282479
Bjoern A. Zeeb <bz@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Open |In Progress
Version|Unspecified |CURRENT
Assignee|bugs@FreeBSD.org |bz@FreeBSD.org
--- Comment #5 from Bjoern A. Zeeb <bz@FreeBSD.org> ---
(In reply to Evgenii Khramtsov from comment #4)
I would highly assume that this has nothing to do with the clang19 import but
is a simple #include problem which only surfaces in 5.10.
I think the fix likely (which we should probably do anyway) is to
#include <sys/systm.h> in sys/compat/linuxkpi/common/include/linux/lockdep.h .
I am running a tinderbox build with drm-kmod checked out in LOCAL_MODULES_DIR
using the 5.10-lts branch to see if it breaks and if the above fixes it. That
way drm-kmod is built along with the kernel and the same build and kernel
options.
--
You are receiving this mail because:
You are the assignee for the bug.