]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
ffmpeg: Fix RISCV build
authorKhem Raj <raj.khem@gmail.com>
Wed, 4 Dec 2024 20:01:51 +0000 (12:01 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Dec 2024 09:17:50 +0000 (09:17 +0000)
commit09b6536fcc5dcd5e8e419c7a2e8c4f3da0cfa38f
tree5a57d787cc2c3f3bcd08cdc6e2052786614fd4f9
parentee94d7f99ff3c7e922fdb502fabbda3fd0cd8700
ffmpeg: Fix RISCV build

Issue found with LLD linker

| riscv64-yoe-linux-ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '
   ↪ ff_h264_weight_pixels16_8_rvv'; recompile with -fPIC
   | >>> defined in libavcodec/riscv/h264dsp_rvv.o
   | >>> referenced by libavcodec/riscv/h264dsp_rvv.o:(ff_h264_weight_funcs_8_rvv)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/ffmpeg/ffmpeg/0001-lavc-h264dsp-move-RISC-V-fn-pointers-to-.data.rel.ro.patch [new file with mode: 0644]
meta/recipes-multimedia/ffmpeg/ffmpeg_7.1.bb