From: Ross Burton Date: Thu, 12 Jun 2025 20:30:01 +0000 (+0100) Subject: libtheora: disable all 32-bit arm assembler X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ee2166f9d03ab01f2ea3dd29b8e76ae168fa9aa;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- 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 "