On Mon, Jan 05, 2026 at 06:24:06PM +0100, Peter Hessler wrote:
> On 2025 Dec 29 (Mon) at 00:13:22 +0100 (+0100), Jeremie Courreges-Anglas
> wrote:
> :On Sun, Dec 28, 2025 at 10:28:58AM +0100, Peter Hessler wrote:
> :> On 2025 Dec 26 (Fri) at 18:00:50 +0100 (+0100), Jeremie Courreges-Anglas
> wrote:
> :> :On Fri, Dec 26, 2025 at 06:55:14AM +0100, Rafael Sadowski wrote:
> :> :> On Fri Dec 26, 2025 at 10:16:46AM +1100, Jonathan Gray wrote:
> :> :> > On Thu, Dec 25, 2025 at 11:57:16PM +0100, Peter Hessler wrote:
> :> :> > >
> :> :> > >
> :> :> > >
> :http://build-failures.rhaalovely.net/aarch64/2025-12-22/x11/qt6/qtwebengine.log
> :> :> > > :
> :> :> > >
> :> :> > > In file included from
> ../../../../../qtwebengine-everywhere-src-6.10.1/src/3rdparty/chromium/third_party/libaom/source/libaom/av1/encoder/arm/av1_error_sve.c:19:
> :> :> > >
> ../../../../../qtwebengine-everywhere-src-6.10.1/src/3rdparty/chromium/third_party/libaom/source/libaom/aom_dsp/arm/aom_neon_sve_bridge.h:15:10:
> :> :> > > fatal error: 'arm_neon_sve_bridge.h' file not found
> :> :> > > 15 | #include <arm_neon_sve_bridge.h>
> :> :> > > | ^~~~~~~~~~~~~~~~~~~~~~~
> :> :> >
> :> :> > The log shows base clang.
> :> :> >
> :> :> > Does installing the include fix the build?
> :> :>
> :> :> I tried to mix the headers from base and ports to get access to
> :> :> arm_neon_sve_bridge without luck. I would be grateful if we could do it
> :> :> that way. CC robert@
> :> :
> :> :FWIW I fixed Robert's mail address. A similar diff was already
> :> :proposed by Brad:
> :> :
> :> : https://marc.info/?l=openbsd-tech&m=174155733400782&w=2
> :> :
> :> :But it resulted in build failures using clang-19:
> :> :
> :> : https://marc.info/?l=openbsd-tech&m=174482865617988&w=2
> :> :
> :> :For this header addition to be a clear improvement we'd need to first
> :> :apply Brad's proposal which backports some code from llvm/20:
> :> :
> :> : https://marc.info/?l=openbsd-ports&m=174555990331066&w=2
> :> :
> :> :Regarding the diff below,
> :> :
> :> :> >
> :> :> > Index: gnu/usr.bin/clang/include/clang/intrin/Makefile
> :> :> > ===================================================================
> :> :> > RCS file: /cvs/src/gnu/usr.bin/clang/include/clang/intrin/Makefile,v
> :> :> > diff -u -p -r1.29 Makefile
> :> :> > --- gnu/usr.bin/clang/include/clang/intrin/Makefile 13 Jun 2025
> 17:11:09 -0000 1.29
> :> :> > +++ gnu/usr.bin/clang/include/clang/intrin/Makefile 25 Dec 2025
> 23:05:51 -0000
> :> :> > @@ -30,7 +30,7 @@ GEN+= arm_bf16.h
> :> :> > GEN+= arm_mve.h
> :> :> > GEN+= arm_cde.h
> :> :> > GEN+= arm_vector_types.h
> :> :> > -HEADERS+= arm_acle.h arm_cmse.h ${GEN}
> :> :> > +HEADERS+= arm_acle.h arm_cmse.h arm_neon_sve_bridge.h ${GEN}
> :> :
> :> :Brad's diff only installed the header on aarch64.
> :> :gnu/llvm/clang/lib/Headers/CMakeLists.txt indeed marks this file as
> :> :"aarch64-only" so I'd suggest we use Brad's diff.
> :> :
> :>
> :> Does someone have a complete diff I can test? I'm not sure what part
> :> from ports and what parts from src I need to use.
> :
> :Here's the consolidated diff for base. I have checked that it fixes
> :the build of one of the ports that used to fail (I just don't remember
> :which one, maybe svt-av1).
> :
>
> Good news, bad news.
>
> Good news, this works for me and multimedia/svt-av1 and multimedia/aom
> build fine for me.
Cool, thanks for confirming.
> OK
Thanks, sorry I forgot to mention this in the commit message. Next
commit will be the one below, I'll put it in as soon as a new aarch64
snap ships the header. SVE actvation tested at compile-time only
(even the m2 pro doesn't have SVE). The shared lib version bump for
x265 is warranted.
ok?
Index: multimedia/aom/Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/aom/Makefile,v
diff -u -p -r1.30 Makefile
--- multimedia/aom/Makefile 7 Jul 2025 10:14:03 -0000 1.30
+++ multimedia/aom/Makefile 6 Jan 2026 22:51:09 -0000
@@ -1,6 +1,7 @@
COMMENT= Alliance for Open Media AV1 video codec
V= 3.12.1
+REVISION= 0
DISTNAME= libaom-$V
PKGNAME= aom-$V
CATEGORIES= multimedia
Index: multimedia/libvpx/Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/Makefile,v
diff -u -p -r1.62 Makefile
--- multimedia/libvpx/Makefile 14 Jul 2025 07:14:00 -0000 1.62
+++ multimedia/libvpx/Makefile 6 Jan 2026 22:46:14 -0000
@@ -3,6 +3,7 @@ COMMENT= Google VP8/VP9 video codec
GH_ACCOUNT= webmproject
GH_PROJECT= libvpx
GH_TAGNAME= v1.15.2
+REVISION= 0
EPOCH= 0
CATEGORIES= multimedia
Index: multimedia/svt-av1/Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/svt-av1/Makefile,v
diff -u -p -r1.20 Makefile
--- multimedia/svt-av1/Makefile 30 Mar 2025 19:37:23 -0000 1.20
+++ multimedia/svt-av1/Makefile 6 Jan 2026 22:50:14 -0000
@@ -3,7 +3,7 @@ ONLY_FOR_ARCHS= ${LP64_ARCHS} i386
COMMENT= scalable AV1 encoder
VER= 2.3.0
-REVISION= 0
+REVISION= 1
DISTNAME= SVT-AV1-v${VER}
PKGNAME= svt-av1-${VER}
CATEGORIES= multimedia
@@ -28,12 +28,6 @@ MODULES= devel/cmake
.if ${MACHINE_ARCH} == "amd64"
BUILD_DEPENDS+= devel/nasm
-.endif
-
-# LLVM ERROR: Invalid size request on a scalable vector.
-# with 16, 18, 19
-.if ${MACHINE_ARCH} == "aarch64"
-CONFIGURE_ARGS+=-DENABLE_SVE=OFF
.endif
NO_TEST= Yes
Index: multimedia/x265/Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/x265/Makefile,v
diff -u -p -r1.61 Makefile
--- multimedia/x265/Makefile 9 Dec 2024 22:37:26 -0000 1.61
+++ multimedia/x265/Makefile 6 Jan 2026 22:48:29 -0000
@@ -3,11 +3,11 @@ COMMENT= free H.265/HEVC encoder
VER= 4.1
DISTNAME= x265_${VER}
PKGNAME= x265-${VER}
-REVISION= 0
+REVISION= 1
CATEGORIES= multimedia
SITES= https://bitbucket.org/multicoreware/x265_git/downloads/
-SHARED_LIBS= x265 25.0
+SHARED_LIBS= x265 25.1
HOMEPAGE= https://x265.org/
--
jca