bodnuti

Deterministic checks of Yocto Project & OpenEmbedded patches.


[PATCH] ffmpeg: Use the external assembler for RISC-V with clang

List
openembedded-core
Thread
lore
Author
Khem Raj
Last message
2026-11-27 16:14
Result
2 findings, 2 errors
Checked against
openembedded-core master
Base
39019629a4ad

[PATCH] ffmpeg: Use the external assembler for RISC-V with clang

error oelint oelint.vars.specific meta/recipes-multimedia/ffmpeg/ffmpeg_9.1.bb:37
'CFLAGS' is set specific to ['toolchain-clang'], but isn't known from PACKAGES, MACHINE, DISTRO or resources
34ARM_INSTRUCTION_SET:armv6 = "arm"3536# ASM code for RISCV is not internal assembler ready37CFLAGS:append:toolchain-clang:riscv64 = " -fno-integrated-as"38CFLAGS:append:toolchain-clang:riscv32 = " -fno-integrated-as"3940# Should be API compatible with libav (which was a fork of ffmpeg)

Model, unverified: The oelint warning about CFLAGS being set specific to ['toolchain-clang'] is a false positive; toolchain-clang is a standard OE-Core override added when CLANG is enabled. Fix: No fix needed; the override is intentional and semantically correct. oelint's check simply doesn't recognize 'toolchain-clang' as a known override source in its database.

error oelint oelint.vars.specific meta/recipes-multimedia/ffmpeg/ffmpeg_9.1.bb:38
'CFLAGS' is set specific to ['toolchain-clang'], but isn't known from PACKAGES, MACHINE, DISTRO or resources
3536# ASM code for RISCV is not internal assembler ready37CFLAGS:append:toolchain-clang:riscv64 = " -fno-integrated-as"38CFLAGS:append:toolchain-clang:riscv32 = " -fno-integrated-as"3940# Should be API compatible with libav (which was a fork of ffmpeg)41PROVIDES = "libav"

Model, unverified: Same oelint false positive for the riscv32 variant; toolchain-clang is a valid and well-known override in the OE build system. Fix: Same as above; no action required.

Model review (bodnuti-qwen3.8-27b-48k-text): 0 findings

Found by a model, not checked by a person; not counted in the result.

14155 tokens read, 198 written; confidence high; prompt v5

No findings.

patchtest: 10 pass, 0 fail, 5 skip

Text report