From 0ee2166f9d03ab01f2ea3dd29b8e76ae168fa9aa Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 12 Jun 2025 21:30:01 +0100 Subject: [PATCH] libtheora: disable all 32-bit arm assembler 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 Signed-off-by: Richard Purdie --- meta/recipes-multimedia/libtheora/libtheora_1.2.0.bb | 5 +++++ 1 file changed, 5 insertions(+) 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 " -- 2.47.3