Summary: | media-video/ffmpeg: LTO breaks endianness test | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Michael <fedora.dm0> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
URL: | https://ffmpeg.org/pipermail/ffmpeg-devel/2020-November/272423.html | ||
See Also: | https://github.com/gentoo/gentoo/pull/20045 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 |
Description
David Michael
2020-11-15 02:07:13 UTC
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e7e25bb617a8202fb1a0f0381949dcd380de614 commit 4e7e25bb617a8202fb1a0f0381949dcd380de614 Author: David Michael <fedora.dm0@gmail.com> AuthorDate: 2021-03-22 10:06:25 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-03-22 10:06:25 +0000 media-video/ffmpeg: work around cross-endian tests failing Cross-compiling with LTO prevents the build system from detecting endianness. Upstream says that enabling LTO with CFLAGS is not supported, so filter -flto* out of CFLAGS after adding --enable-lto to the configure command (which just adds back -flto after endian tests pass). Closes: https://bugs.gentoo.org/754654 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org> media-video/ffmpeg/ffmpeg-4.3.2.ebuild | 3 ++- media-video/ffmpeg/ffmpeg-9999.ebuild | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) |