Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Nov 2024 00:02:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 282479] LinuxKPI: <linux/lockdep.h> lockdep_is_held() user doesn't build after LLVM 19 import
Message-ID:  <bug-282479-227-HegwXAD0eh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282479-227@https.bugs.freebsd.org/bugzilla/>

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

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.

home | help

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