Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283968 - media-video/ffmpeg: Unknown CPU "athlon64-sse3" (k8-sse3, opteron-sse3)
Summary: media-video/ffmpeg: Unknown CPU "athlon64-sse3" (k8-sse3, opteron-sse3)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-07 09:57 UTC by Dennis Schridde
Modified: 2010-12-19 21:19 UTC (History)
2 users (show)

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 Dennis Schridde 2009-09-07 09:57:13 UTC
The configure process of media-video/ffmpeg reports: Unknown CPU "athlon64-sse3", because -march is set to that value on this machine.
The logic in the ebuild should replace athlon64-sse3 (and possibly also k8-sse3 and opteron-sse3) with just athlon64 (k8, opteron), so that ffmpeg's configure properly detects the correct CPU.

Reproducible: Always
Comment 1 Jimmy Kloss 2009-09-14 13:32:38 UTC
same goes for -march "native"
--> Unknown CPU "native"
Comment 2 josef.95 2009-12-26 14:18:24 UTC
(In reply to comment #1)
> same goes for -march "native"
> --> Unknown CPU "native"
> 
With ffmpeg-0.5_p20373 and -march=native works here fine

With "k8-sse3" "opteron-sse3" works not correct
>>> Configuring source in /var/tmp/portage/media-video/ffmpeg-0.5_p20373/work/ffmpeg-0.5_p20373 ...
true
WARNING: Unknown CPU "k8-sse3", ignored. 
Comment 3 Dror Levin (RETIRED) gentoo-dev 2010-01-26 15:56:00 UTC
Fixed in 0.5_p20601-r1 and 9999-r1, thanks for reporting.
Comment 4 Maxim Britov 2010-11-12 16:32:23 UTC
In ffmpeg-0.5_p22846 and newer configure have:

*-sse3)             echo -xarch=sse3                 ;;

and works fine with -march=k8-sse3

And:

...
C compiler                x86_64-pc-linux-gnu-gcc
ARCH                      x86 (k8-sse3)
big-endian                no
runtime cpu detection     no
...