new file mode 100644
@@ -0,0 +1,32 @@
+From 395ca7f1475f9516dbe1732b32ef0dd3054eb922 Mon Sep 17 00:00:00 2001
+From: Michele Comignano <mcdev@playlinux.net>
+Date: Tue, 16 Jun 2026 00:37:05 +0200
+Subject: [PATCH] Use vcvtaq_s32_f32 with clang only
+
+While intrinsics vcvtaq_s32_f32 is present according to ARM docs,
+gcc doesn't make it available.
+The fix, ensure its only used when compiling with clang which is
+known to propertly make it available.
+
+Upstream-Status: Submitted [https://gitlab.xiph.org/xiph/opus/-/merge_requests/193]
+Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
+---
+ celt/arm/mathops_arm.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/celt/arm/mathops_arm.h b/celt/arm/mathops_arm.h
+index b1f91699..3be61b23 100644
+--- a/celt/arm/mathops_arm.h
++++ b/celt/arm/mathops_arm.h
+@@ -37,7 +37,7 @@
+
+ static inline int32x4_t vroundf(float32x4_t x)
+ {
+-# if defined(__aarch64__) || (defined(__ARM_ARCH) && __ARM_ARCH >= 8)
++# if defined(__aarch64__) || (defined(__ARM_ARCH) && __ARM_ARCH >= 8 && defined(__clang__))
+ return vcvtaq_s32_f32(x);
+ # else
+ uint32x4_t sign = vandq_u32(vreinterpretq_u32_f32(x), vdupq_n_u32(0x80000000));
+--
+GitLab
+
@@ -8,7 +8,9 @@ SECTION = "libs/multimedia"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=4b365c2155d66e550e1447075d6744a5"
-SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz"
+SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz \
+ file://0001-Use-vcvtaq_s32_f32-with-clang-only.patch \
+ "
SRC_URI[sha256sum] = "6ffcb593207be92584df15b32466ed64bbec99109f007c82205f0194572411a1"
S = "${UNPACKDIR}/opus-${PV}"
opus 1.6.1 uses vcvtaq_s32_f32 on any ARMv8 target, as ACLE allows, but GCC's AArch32 arm_neon.h lacks the float32 vcvta intrinsics, so an ARMv8-A AArch32 tune fails to build with GCC. Take the fix submitted upstream. AI-Generated: Claude Code (Claude Opus 5.5) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> --- ...1-Use-vcvtaq_s32_f32-with-clang-only.patch | 32 +++++++++++++++++++ .../libopus/libopus_1.6.1.bb | 4 ++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-multimedia/libopus/libopus/0001-Use-vcvtaq_s32_f32-with-clang-only.patch base-commit: 5fd679486f345f0c94abde7522bbc51eb8a5aeb6