[Bug 279864] graphics/drm-61-kmod: doesn't compile on powerpc64

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Jun 2024 18:58:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279864

            Bug ID: 279864
           Summary: graphics/drm-61-kmod: doesn't compile on powerpc64
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: benni@stuerz.xyz
                CC: fuz@FreeBSD.org, pkubaj@FreeBSD.org,
                    powerpc@FreeBSD.org
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)
                CC: powerpc@FreeBSD.org

Created attachment 251578
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251578&action=edit
cd /usr/ports/graphics/drm-61-kmod && make

uname -aKU: FreeBSD powerkek 14.1-RELEASE FreeBSD 14.1-RELEASE
releng/14.1-n267679-10e31f0946d8 GENERIC powerpc 1401000 1401000

TLDR:
/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.69_2/drivers/gpu/drm/drm_cache.c:358:10:
error: call to undeclared function 'in_interrupt'; ISO C99 and later do not
support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
  358 |         WARN_ON(in_interrupt());
      |                 ^
1 error generated.
*** [drm_cache.o] Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.