Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911839 - media-video/ffmpeg-chromium-106 fails to compile (GLIBC-2.38-SYSTEM): mathops.h:125: Error: operand type mismatch for shr
Summary: media-video/ffmpeg-chromium-106 fails to compile (GLIBC-2.38-SYSTEM): mathops...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: binutils-2.41
  Show dependency tree
 
Reported: 2023-08-07 07:09 UTC by Agostino Sarubbo
Modified: 2023-08-10 04:08 UTC (History)
0 users

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


Attachments
build.log (build.log,84.17 KB, text/plain)
2023-08-07 07:09 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 2023-08-07 07:09:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-video/ffmpeg-chromium-106 fails to compile (GLIBC-2.38-SYSTEM).
Discovered on: amd64 (internal ref: glibc2.38_tinderbox)

NOTE:
(GLIBC-2.38-SYSTEM) in the summary means that the bug was found on a machine that runs glibc-2.38 but this bug MAY or MAY NOT BE related to the new libc version
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-07 07:09:56 UTC
Created attachment 867272 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-08-07 07:09:57 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-07 07:13:49 UTC
Just need to cherry-pick the patch we used in ffmpeg itself.
Comment 4 Larry the Git Cow gentoo-dev 2023-08-10 04:08:03 UTC
The bug has been closed via the following commit(s):

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

commit a685f699e19daaa572044c82858580af15465189
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-08-10 03:57:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-10 03:57:06 +0000

    media-video/ffmpeg-chromium: fix build w/ binutils-2.41
    
    Closes: https://bugs.gentoo.org/911839
    Signed-off-by: Sam James <sam@gentoo.org>

 .../ffmpeg-chromium/ffmpeg-chromium-102.ebuild     |  1 +
 .../ffmpeg-chromium/ffmpeg-chromium-106.ebuild     |  1 +
 .../ffmpeg-chromium/ffmpeg-chromium-114.ebuild     |  1 +
 .../files/ffmpeg-chromium-binutils-2.41.patch      | 77 ++++++++++++++++++++++
 4 files changed, 80 insertions(+)