Bug 15570 - binutils 2.43 update broke ffmpeg on armv5/v7
Summary: binutils 2.43 update broke ffmpeg on armv5/v7
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 5.1 M3
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-08-07 19:10 UTC by Denys Dmytriyenko
Modified: 2024-09-12 15:03 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denys Dmytriyenko 2024-08-07 19:10:11 UTC
ffmpeg on armv5 and armv7 fails to build with latest binutils 2.43, but aarch64/armv8 is fine
reverting binutils 2.43 update also resolved the issue

it fails compiling asm code with lots of repeated lines like this:

src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
src/libavcodec/arm/mlpdsp_armv5te.S:369:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:397:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:422:    Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:336: Error: garbage following instruction -- `bne 01b'
src/libavcodec/arm/mlpdsp_armv5te.S:369:  Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:397:   Info: macro invoked from here
src/libavcodec/arm/mlpdsp_armv5te.S:422:    Info: macro invoked from here

Set LICENSE_FLAGS_ACCEPTED="commercial" and MACHINE="qemuarm" and bitbake ffmpeg to reproduce.
Comment 1 Randy MacLeod 2024-08-08 14:35:46 UTC
If Ross dosn't get to this before vacation, Richard would like Jon to work on it.
Comment 2 Ross Burton 2024-08-08 17:20:42 UTC
Patch on the list.
Comment 3 Ross Burton 2024-08-09 11:04:44 UTC
"ffmpeg: fix build with binutils 2.43 on arm with commerical codecs" on the list.
Comment 4 Ross Burton 2024-09-12 15:03:33 UTC
Merged in 06d29af58521b94518c924468db34d0eed1cb056.