Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942790 - media-video/ffmpeg-4.4.5-r1 fails to compile: mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is 0
Summary: media-video/ffmpeg-4.4.5-r1 fails to compile: mlpdsp_armv5te.S:232: Error: ju...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 949284
  Show dependency tree
 
Reported: 2024-11-02 19:03 UTC by Agostino Sarubbo
Modified: 2025-02-04 16:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,44.98 KB, application/x-xz)
2024-11-02 19:03 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-02 19:03:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-video/ffmpeg-4.4.5-r1 fails to compile.
Discovered on: arm (internal ref: tinderbox_arm)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-02 19:03:08 UTC
Created attachment 907729 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-02 19:03:09 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
src/libavcodec/arm/mlpdsp_armv5te.S:244: Error: garbage following instruction -- `bne 01b'
src/libavcodec/arm/mlpdsp_armv5te.S:336: Error: garbage following instruction -- `bne 01b'
Comment 3 tt_1 2025-01-17 08:02:59 UTC
this is a regression for all version of ffmpeg-4, ffmpeg-6 and ffmpeg-7

they used to compile, but sadly I don't have any notes on when they did successfully the last time. 

it works with ffmpeg-9999
Comment 4 tt_1 2025-01-17 08:05:52 UTC
caused by binutils-2.43 stabilization

upstream fix in: https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/654bd47716c4f36719fb0f3f7fd8386d5ed0b916
Comment 5 Larry the Git Cow gentoo-dev 2025-02-04 16:54:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92f863b8e648714a7ed67a1ef70e2185112ebc83

commit 92f863b8e648714a7ed67a1ef70e2185112ebc83
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-02-04 16:52:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-04 16:53:24 +0000

    media-video/ffmpeg: fix build on arm w/ binutils-2.43
    
    Closes: https://bugs.gentoo.org/942790
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/ffmpeg/ffmpeg-4.4.5-r1.ebuild          |  3 +-
 media-video/ffmpeg/ffmpeg-6.1.1-r8.ebuild          |  3 +-
 media-video/ffmpeg/ffmpeg-6.1.2.ebuild             |  3 +-
 media-video/ffmpeg/ffmpeg-7.0.2-r1.ebuild          |  3 +-
 .../files/ffmpeg-4.4.5-binutils-2.43-arm.patch     | 60 ++++++++++++++++++++++
 5 files changed, 68 insertions(+), 4 deletions(-)