From nobody Wed Apr 29 11:11:59 2026 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4g5F4m5CjWz6bQpd for ; Wed, 29 Apr 2026 11:12:08 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4g5F4k3x47z3pYy; Wed, 29 Apr 2026 11:12:06 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 63TBBxKu040627; Wed, 29 Apr 2026 11:11:59 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 63TBBxEQ040626; Wed, 29 Apr 2026 04:11:59 -0700 (PDT) (envelope-from david) Date: Wed, 29 Apr 2026 04:11:59 -0700 From: David Wolfskill To: freebsd-ports@freebsd.org Subject: Failed attempt to update graphics/drm-66-kmod Message-ID: Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3yTvd2OI+oJYJ/n3" Content-Disposition: inline X-Spamd-Result: default: False [0.37 / 15.00]; REPLYTO_EQ_TO_ADDR(5.00)[]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.96)[-0.957]; NEURAL_HAM_SHORT(-0.28)[-0.275]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; FREEFALL_USER(0.00)[david]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[catwhisker.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; HAS_REPLYTO(0.00)[freebsd-ports@freebsd.org] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4g5F4k3x47z3pYy --3yTvd2OI+oJYJ/n3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable It's possible that I'm doing something stupid (or just "wrong").... On my main laptop, I track stable/15 & head (different slices -- I started doing this over 20 years ago & update to a new laptop by copying the disk drive -- the laptop is only about 10 years old). In /etc/src.conf, I have: g1-120(15.1-P)[2] grep '^PORT' /etc/src.conf PORTS_MODULES+=3Dgraphics/drm-66-kmod PORTS_MODULES+=3Dgraphics/gpu-firmware-amd-kmod PORTS_MODULES+=3Dgraphics/gpu-firmware-intel-kmod PORTS_MODULES+=3Dx11/nvidia-kmod-390 so the various kmod ports get rebuilt when I rebuild the kernel. Today, I noticed the update from drm-66-kmod-6.6.25.1500508_8 to drm-66-kmod-6.6.25.1500508_9; no problem (so I thought). I had built and run FreeBSD g1-120.catwhisker.org 15.1-PRERELEASE FreeBSD 15.1-PRERELEASE #798 = stable/15-n283363-8d584f064885: Tue Apr 28 10:39:26 UTC 2026 root@g1-12= 0.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd64 150050= 8 1500508 yesterday (without issue), but after updating sources to stable/15-n283375-bf1529d83918, then firing up the usual "buildworld" & friends, the kernel build failed while attempting to build drm-66-kmod, with whines about "taking address of packed member..." of a class or structure: --- intel_guc_ct.o --- /common/S1/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-66-= kmod/work/drm-kmod-drm_v6.6.25_10/drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c= :606:19: error: taking address of packed member 'head' of class or structur= e 'guc_ct_buffer_desc' may result in an unaligned pointer value [-Werror,-W= address-of-packed-member] 606 | head =3D READ_ONCE(desc->head); | ^~~~~~~~~~ /usr/src/sys/compat/linuxkpi/common/include/linux/compiler.h:81:37: note: e= xpanded from macro 'READ_ONCE' 81 | (*(const volatile __typeof(x) *)&(x)); \ | ^ Any suggestions for suitable evasive action? Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org See https://www.catwhisker.org/~david/publickey.gpg for my public key. --3yTvd2OI+oJYJ/n3 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQRCec5RsK7Enudh3yGB9MJ9AwUELQUCafHnf18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0NDI3 OUNFNTFCMEFFQzQ5RUU3NjFERjIxODFGNEMyN0QwMzA1MDQyRAAKCRCB9MJ9AwUE Lbi3AQD5kIrhrxtcWEyAeJtuY11s7aq+Cs14TI/cqLQxRXpxBwEAszEggcslSbXY yC6MOgsLD+4PVZ9zdLrRD2iy5IetAQk= =jQ8G -----END PGP SIGNATURE----- --3yTvd2OI+oJYJ/n3--