]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
ffmpeg: Disable asm and rvv on riscv32
authorKhem Raj <raj.khem@gmail.com>
Sat, 8 Apr 2023 20:18:59 +0000 (13:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Apr 2023 10:55:40 +0000 (11:55 +0100)
commit010b068bcc126dbbc1e2032997e8d83360a7de35
tree1d4344ec0d89b8ac7ff0240ad4a1bf14d4eded4d
parentd7909538067843d60b9cb56d79a51e2a240c8b18
ffmpeg: Disable asm and rvv on riscv32

ffmpeg 6.0 has added assembly routines which uses rv64i ISA
unconditionally, ideally it should check for ISA before using those
instructions.

Fixes errors like
<instantiation>:1:1: error: instruction requires the following: RV64I Base Instruction Set
ld t0, (a1)
^
src/libavcodec/riscv/pixblockdsp_rvi.S:24:1: note: while in macro instantiation
.irp row, 0, 1, 2, 3, 4, 5, 6, 7
^
<instantiation>:3:9: error: instruction requires the following: RV64I Base Instruction Set
        sd zero, ((0 * 16) + 0)(a0)
        ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-multimedia/ffmpeg/ffmpeg_6.0.bb