Summary: | media-video/ffmpeg: build failure with sys-devel/binutils-2.41 ( src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr') | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | herrtimson |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://sourceware.org/bugzilla/show_bug.cgi?id=30578 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108941 https://trac.ffmpeg.org/ticket/10405 https://bugs.gentoo.org/show_bug.cgi?id=911687 https://bugs.gentoo.org/show_bug.cgi?id=911688 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 911581 | ||
Attachments: | build.log.xz |
Description
Sam James
2023-08-02 06:58:39 UTC
This appears to be an ffmpeg bug, not sure if anyone's reported it there yet. See https://sourceware.org/bugzilla/show_bug.cgi?id=30578 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108941. https://sources.debian.org/patches/ffmpeg/7:6.0-4/0001-avcodec-x86-mathops-clip-constants-used-with-shift-i.patch/ -> https://git.videolan.org/?p=ffmpeg.git;a=commit;h=effadce6c756247ea8bae32dc13bb3e6f464f0eb The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15aad11f0bc671bc81e5e998f19a00d05f1803ac commit 15aad11f0bc671bc81e5e998f19a00d05f1803ac Author: Sam James <sam@gentoo.org> AuthorDate: 2023-08-02 08:12:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-02 08:12:17 +0000 media-video/ffmpeg: fix build w/ binutils-2.41 Closes: https://bugs.gentoo.org/911582 Signed-off-by: Sam James <sam@gentoo.org> media-video/ffmpeg/ffmpeg-5.1.3-r4.ebuild | 604 ++++++++++++++++++++ media-video/ffmpeg/ffmpeg-6.0-r6.ebuild | 605 +++++++++++++++++++++ .../ffmpeg/files/ffmpeg-5.1.3-binutils-2.41.patch | 76 +++ .../ffmpeg/files/ffmpeg-6.0-binutils-2.41.patch | 76 +++ 4 files changed, 1361 insertions(+) ffmpeg-4 is unaffected by this? You'd have to try it. It wasn't backported upstream and I was busy with other bits then. (In reply to Sam James from comment #5) > You'd have to try it. It wasn't backported upstream and I was busy with > other bits then. I'll check the older ones now. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb970048f661599c5ae9c2422a88f822c57f717 commit 4cb970048f661599c5ae9c2422a88f822c57f717 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-08-02 18:19:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-02 18:19:00 +0000 media-video/ffmpeg: backport binutils-2.41 fix all the way down for 4.x Followup to 15aad11f0bc671bc81e5e998f19a00d05f1803ac. Bug: https://bugs.gentoo.org/911582 Signed-off-by: Sam James <sam@gentoo.org> media-video/ffmpeg/ffmpeg-4.2.9-r1.ebuild | 558 +++++++++++++++++++++++++++ media-video/ffmpeg/ffmpeg-4.4.4-r4.ebuild | 604 ++++++++++++++++++++++++++++++ 2 files changed, 1162 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b604cc757dd71c174c83f08aca00a26b738522dd commit b604cc757dd71c174c83f08aca00a26b738522dd Author: Myckel Habets <gentoo-bugs@habets-dobben.nl> AuthorDate: 2023-08-07 11:48:02 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-08-12 08:36:57 +0000 www-client/seamonkey: bug fixes on 2.53.17 Adds dependencies for clang and llvm using the llvm.eclass. Fix for ffmpeg build failure on ~ARCH. Closes: https://bugs.gentoo.org/911830 Bug: https://bugs.gentoo.org/911679 Bug: https://bugs.gentoo.org/911582 Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl> Closes: https://github.com/gentoo/gentoo/pull/32210 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-client/seamonkey/Manifest | 2 +- www-client/seamonkey/metadata.xml | 3 ++ www-client/seamonkey/seamonkey-2.53.17.ebuild | 41 ++++++++++++++++++++++----- 3 files changed, 38 insertions(+), 8 deletions(-) |