]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libtheora: disable all 32-bit arm assembler
authorRoss Burton <ross.burton@arm.com>
Thu, 12 Jun 2025 20:30:01 +0000 (21:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Jun 2025 16:56:27 +0000 (17:56 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/libtheora/libtheora_1.2.0.bb

index 361d2c6e4a37914a7f1c7d869df71ed67228fa9c..1a1b5fce06e177502ec8d94235751fd65dd407ce 100644 (file)
@@ -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 "