Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2026 11:42:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 295976] graphics/drm-515-kmod: compilation fails on stable/15 f77062f506f7
Message-ID:  <bug-295976-7141-ZaEOEVJyw7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295976-7141@https.bugs.freebsd.org/bugzilla/>

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

Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 295976: graphics/drm-515-kmod: compilation fails on stable/15 f77062f506f7
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295976



--- Description ---
Scenario:
- bhyve VM just upgraded to stable/15 f77062f506f7
- recompiling ports (latest)
- graphics/drm-515-kmod gets recompiled due to FreeBSD version change (1501500
-> 1501501)

Result:
- The compilation fails with multiple errors in multiple files, all of the form
(copied from the full build log):

--- intel_context_sseu.o ---
In file included from
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-
kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_context_sseu.c:12:
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-
kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_ring.h:64:2:
error: default initialization of an object of type 'typeof (ring->size)' (aka
'const unsigned int') leaves the object 
uninitialized [-Werror,-Wdefault-const-init-var-unsafe] 	 
   64 | 	typecheck(typeof(ring->size), prev);
      | 	^		      
/usr/src/sys/compat/linuxkpi/common/include/linux/typecheck.h:31:9: note:
expanded from macro 'typecheck'
   31 | ({	type __var1; \						       

      | 	     ^	 
--- i915_request.o ---		    
2 errors generated.
--- intel_renderstate.o ---						       

In file included from
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-
kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_renderstate.c:10:
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-
kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_ring.h:63:2:
error: default initialization of an object of type 'typeof (ring->size)' (aka
'const unsigned int') leaves the object 
uninitialized [-Werror,-Wdefault-const-init-var-unsafe] 	 
   63 | 	typecheck(typeof(ring->size), next);
      | 	^							       

/usr/src/sys/compat/linuxkpi/common/include/linux/typecheck.h:31:9: note:
expanded from macro 'typecheck'
   31 | ({	type __var1; \
      | 	     ^			       
In file included from
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-
kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_renderstate.c:10:
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-
kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_ring.h:64:2:
error: default initialization of an object of type 'typeof (ring->size)' (aka
'const unsigned int') leaves the object 
uninitialized [-Werror,-Wdefault-const-init-var-unsafe] 	 
   64 | 	typecheck(typeof(ring->size), prev);
      | 	^							       

/usr/src/sys/compat/linuxkpi/common/include/linux/typecheck.h:31:9: note:
expanded from macro 'typecheck'
   31 | ({	type __var1; \						       

      | 	     ^		     

Expected result:
- Should compile successfully as it did on May 1, with stable/15 at
0baae6223a63 and latest ports at that time.

-- Martin


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295976-7141-ZaEOEVJyw7>