diff mbox series

libtheora: disable all 32-bit arm assembler

Message ID 20250612203001.281873-1-ross.burton@arm.com
State New
Headers show
Series libtheora: disable all 32-bit arm assembler | expand

Commit Message

Ross Burton June 12, 2025, 8:30 p.m. UTC
The 32-bit Arm assembler is mostly broken. In 1.1.0 it was never used,
and 1.2.0 tries to enable it and there are a number of different ways it
can fail (some gcc/architecture combinations, and all clang builds).

Until this is fixed upstream, simply disable assembler entirely.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-multimedia/libtheora/libtheora_1.2.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-multimedia/libtheora/libtheora_1.2.0.bb b/meta/recipes-multimedia/libtheora/libtheora_1.2.0.bb
index 361d2c6e4a3..1a1b5fce06e 100644
--- a/meta/recipes-multimedia/libtheora/libtheora_1.2.0.bb
+++ b/meta/recipes-multimedia/libtheora/libtheora_1.2.0.bb
@@ -19,6 +19,11 @@  inherit autotools pkgconfig
 
 EXTRA_OECONF = "--disable-examples --disable-doc"
 
+# theora 1.2.0 has broken 32-bit arm assembler, see:
+# https://gitlab.xiph.org/xiph/theora/-/issues/2339
+# https://gitlab.xiph.org/xiph/theora/-/issues/2340
+EXTRA_OECONF:append:arm = " --disable-asm"
+
 # these old architectures don't support all the instructions from the asm source files
 EXTRA_OECONF:append:armv4 = " --disable-asm "
 EXTRA_OECONF:append:armv5 = " --disable-asm "