Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627884 - media-video/ffmpeg should automatically enable mmxext when sse is enabled
Summary: media-video/ffmpeg should automatically enable mmxext when sse is enabled
Status: RESOLVED DUPLICATE of bug 544696
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-14 20:07 UTC by Simon
Modified: 2017-08-16 18:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2017-08-14 20:07:05 UTC
Currently ffmpeg requires users to add mmxext to his/her CPU_FLAG_X86 when sse is enabled (which it is in the current default stage3 profile) which is a superfluous manual step since mmxext is a subset of sse.

ffmpeg should simply enable mmxext when cpu_flags_x86_sse is set so the user isn't bothered with this.

I ran into this issue with the CI for our overlay which runs automated emerge tests for new or changed ebuilds. Packages that depend on ffmpeg failed because of this.

See https://lists.gt.net/gentoo/amd64/299056#299056 for some extra explanation of the relation between mmxext and sse.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2017-08-16 17:52:44 UTC
The stage3 make.conf has a bug where it should not list CPU_FLAGS_X86 at all.

The default profile has this correct..
profiles/arch/amd64/make.defaults:
CPU_FLAGS_X86="mmx mmxext sse sse2"

This is not unique to ffmpeg.

*** This bug has been marked as a duplicate of bug 544696 ***
Comment 2 Simon 2017-08-16 18:09:44 UTC
For future reference, the stage3 make.conf bug where it should not list CPU_FLAGS_X86 at all is https://bugs.gentoo.org/show_bug.cgi?id=608060