Bug 1215945 - ffmpeg-4: Build fails with current Binutils; requires 'asm' fix (15.4, 15.5, Tumbleweed)
Summary: ffmpeg-4: Build fails with current Binutils; requires 'asm' fix (15.4, 15.5, ...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Jan Engelhardt
QA Contact: E-mail List
URL:
Whiteboard:
Keywords: build
Depends on:
Blocks:
 
Reported: 2023-10-04 13:27 UTC by Tobias Burnus
Modified: 2024-04-22 17:16 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Burnus 2023-10-04 13:27:26 UTC
GNU Binutils 2.41 now reveals a bug in the 'asm' code used in ffmpeg-4:

 ./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'

While Binutils is pending for opensuse:factory, the new version has already landed in 15.4 and 15.5 such that ffmpeg-4 fails there:

https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4

ffmpeg-5/6 seemingly got the fix as I do see no fails for 15.4/15.5 for the build of the 4h old package.


Upstream FIX:  "Fixes assembling with binutil as >= 2.41" at
https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/effadce6c756247ea8bae32dc13bb3e6f464f0eb?hp=ccc684993276248d64c328a810fb7714af2f4c70

See also
https://trac.ffmpeg.org/ticket/10405 or (where I found it):

The pending Binutils update for openSUSE:factory update is:
https://build.opensuse.org/request/show/1113885
Comment 1 OBSbugzilla Bot 2023-10-04 16:35:06 UTC
This is an autogenerated message for OBS integration:
This bug (1215945) was mentioned in
https://build.opensuse.org/request/show/1115666 Factory / ffmpeg-4
Comment 2 Jan Engelhardt 2023-10-07 09:42:14 UTC
1115666
Comment 3 OBSbugzilla Bot 2023-10-30 13:35:04 UTC
This is an autogenerated message for OBS integration:
This bug (1215945) was mentioned in
https://build.opensuse.org/request/show/1121164 Factory / ffmpeg-4
Comment 4 OBSbugzilla Bot 2024-04-22 14:26:17 UTC
This is an autogenerated message for OBS integration:
This bug (1215945) was mentioned in
https://build.opensuse.org/request/show/1169676 Backports:SLE-15-SP5 / ffmpeg-4
Comment 5 OBSbugzilla Bot 2024-04-22 17:16:09 UTC
This is an autogenerated message for OBS integration:
This bug (1215945) was mentioned in
https://build.opensuse.org/request/show/1169721 Backports:SLE-15-SP5 / ffmpeg-4