Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67705 - ebuild of media-video/ffmpeg-0.4.7 fails on athlon-xp
Summary: ebuild of media-video/ffmpeg-0.4.7 fails on athlon-xp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 12:32 UTC by Thomas
Modified: 2005-03-17 23:55 UTC (History)
1 user (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 Thomas 2004-10-15 12:32:17 UTC
There seems to be a problem in the ebuild of ffmpeg when compiling for athlon-xp. Per default it compiles for generic X86 even when USE=mmx is on, and then fails when linking. IMO there should be something like

use athlon-xp || myconf="${myconf} --cpu=athlon-xp"

or similar in the src_compile() section in the ebuild, to compile for athlon/athlon-xp. When giving --cpu=athlon-xp to the configure script things work fine. 

(maybe bug #59118 is related to this?)

Reproducible: Always
Steps to Reproduce:
1. emerge ffmpeg # <= this fails
2. cd /tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7
3. make clean
4. ./configure --cpu=athlon-xp --enable-mmx --enable-mp3lame --enable-vorbis --enable-faad
5. make # <= this works !




Portage 2.0.50-r11 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r7)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.3
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mmmx -msse -m3dnow -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mmmx -msse -m3dnow -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aalib acpi alsa apm arts artswrappersuid audiofile avi
berkdb bitmap-fonts bonobo cdparanoia cdr cms crypt cups divx4linux doc dvd dvdr
dvdread encode esd f77 faad fftw flac foomaticdb gdbm gif gnome gphoto2 gpm gtk
gtk2 gtkhtml guile imlib java jpeg kde libg++ libwww linguas_de linguas_es
linguas_fr lirc mad mbox mikmod mmx motif mozilla mpeg mythtv ncurses network
nls nvidia oggvorbis opengl oss pam pdflib perl png posix pwdb python qt
quicktime quotesreadline rtc samba sdl shared sharedmem slang spell sse ssl svga
tcltk tcpd tiff tls truetype v4l2 x86 xinetd xml2 xmmsxprint xv xvid zlib"
Comment 1 Thomas 2004-10-29 01:06:04 UTC
sorry,

use athlon-xp && myconf="${myconf} --cpu=athlon-xp"

in the ebuild should fix it...
Comment 2 Federico Tolomei 2004-12-07 16:26:15 UTC
I have an AthlonXP and I resolved only with USE="-mmx" emerge ffmpeg.
Comment 3 Chris White (RETIRED) gentoo-dev 2005-03-09 14:51:14 UTC
How bout the latest 0.4.9-p2005[something I forgot]-r1?
Comment 4 Ruben Garcia 2005-03-17 06:33:34 UTC
media-video/ffmpeg-0.4.9_p20050226-r1

compiles perfectly on a  AMD Athlon(TM) MP 1900+
Comment 5 Chris White (RETIRED) gentoo-dev 2005-03-17 23:55:43 UTC
Great, I'm closing this then.