Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265089 - media-video/ffmpeg-0.5-r1 has IUSE="+mmx +mmxext +ssse3 +3dnow +3dnowext" set
Summary: media-video/ffmpeg-0.5-r1 has IUSE="+mmx +mmxext +ssse3 +3dnow +3dnowext" set
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-06 10:39 UTC by Roman v. Gemmeren
Modified: 2009-04-07 10:20 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 Roman v. Gemmeren 2009-04-06 10:39:21 UTC
hi,

i was just updating my Thinkpad x31 and discovered ffmpeg used the above settings, which might break stuff on "not so recent" hardware or hardware that doesn't support those features...
SOLUTION: Just ISUE="3dnow 3dnowext ..."

Reproducible: Always

Actual Results:  
package might not compile/work at all

Expected Results:  
correct compilation + work as expected
Comment 1 Rafał Mużyło 2009-04-06 14:14:14 UTC
I think this is invalid - this ebuild set things up
in following way:
- it tells ffmpeg configure to run it's processor 
features detection tests and enable detected
- if a processor useflag is set, do nothing,
if it's unset, disable feature, even if detected
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-06 21:38:57 UTC
Let's see what our video-herd guys think about this...
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2009-04-06 22:17:07 UTC
(In reply to comment #1)
> I think this is invalid - this ebuild set things up
> in following way:
> - it tells ffmpeg configure to run it's processor 
> features detection tests and enable detected
> - if a processor useflag is set, do nothing,
> if it's unset, disable feature, even if detected
> 

Exactly.
Comment 4 Steve Dibb (RETIRED) gentoo-dev 2009-04-06 22:18:28 UTC
It makes more sense if you look at the ebuild:

        # CPU features
        for i in mmx ssse3 altivec ; do
                use $i ||  myconf="${myconf} --disable-$i"
        done
        use mmxext || myconf="${myconf} --disable-mmx2"
        use 3dnow || myconf="${myconf} --disable-amd3dnow"
        use 3dnowext || myconf="${myconf} --disable-amd3dnowext"

so configure has a disable option, meaning, if you leave it on, no harm done.
Comment 5 Roman v. Gemmeren 2009-04-07 10:20:29 UTC
sorry for the trouble! I thought with USE="3dnow" it would automatically compile with "--enable-3dnow", but as i understand now this is not the case.