While emerging gnome, ffmpeg gave me an error. It appears to be something related to mmx b/c after setting -mmx in my use flags, it worked fine. Reproducible: Always Steps to Reproduce: 1.emerge gnome or 2.emerge ffmpeg 3. Actual Results: gcc -march=athlon-xp -Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o liba52/resample.o lib a52/resample.c liba52/resample_mmx.c:10: warning: `magicF2W' defined but not used liba52/resample_mmx.c:11: warning: `wm1010' defined but not used liba52/resample_mmx.c:12: warning: `wm0101' defined but not used liba52/resample_mmx.c:13: warning: `wm1100' defined but not used gcc -march=athlon-xp -Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o libpostproc/postproce ss.o libpostproc/postprocess.c In file included from libpostproc/postprocess.c:435: libpostproc/postprocess_template.c: In function `postProcess_MMX': libpostproc/postprocess_template.c:2813: warning: unused variable `mbWidth' libpostproc/postprocess.c: In function `isVertDC_MMX': libpostproc/postprocess_template.c:61: can't find a register in class `GENERAL_REGS' while reloading `asm' make[1]: *** [libpostproc/postprocess.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavcodec' make: *** [lib] Error 2 !!! ERROR: media-video/ffmpeg-0.4.7_pre20030624 failed. !!! Function src_compile, Line 56, Exitcode 2 !!! make failed. Expected Results: =) not crap out seemant in the #gentoo @ irc.freenode.net asked that I report this error. Sorry if I wasnt a lot of help, but I am new to linux =).
change -march=athlon-xp to -mcpu=athlon-xp and try again if that fixes it close this bug ... theres a warning in make.conf about utilizing said march flag
i'm not aware of any problems with utilizing -march=athlon-xp... but if it fixes things, cool... :) I am just noticing that there is NO optimization... not even -Os... I have seen both overoptimization and no-optimization cause trouble. Strangely, I have heard of more problems with no optimization. :)
I've exactly the same problem using a Pentium-4 CPU. I've tried to emerge this package with these different CFLAGS, but it doesn't fix anything. -mcpu=pentium4 -mcpu=pentium3 -mcpu=pentium -mcpu=i586 -mcpu=athlon-xp -mcpu=athlon Here is my USE variable : USE="aalib acpi alsa apache2 apm arts avi bonobo crypt cups esd gbdm gd gif gnome gpm imap imlib java jikes jpeg gtk mikmod mmx motif kde libwww mozilla mpeg nls oggvorbis odbc opengl pam pdflib perl png python qt quicktime readline samba slang sse ssl tcltk tcpd tiff truetype usb X xml xml2 xmms xv zlib x86"
It fails for me (same as above) with all of the following CFLAGS settings: "-O0 -pipe -g" "-O0 -g" "-g" "-O0" "-pipe" "-O0 -pipe" It only succeeds for me with CFLAGS="".
>>> It only succeeds for me with CFLAGS="". Fine, it works great for me too !
I tried with a CFLAGS="" and ended up with the same error on my Pentium III
I no longer get this bug, even using ridiculous cflags (-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops -mfpmath=sse,387, with USE="+mmx +encode +oggvorbis +doc -faad +dvd -static +sdl +imlib +truetype"). Has the ebuild been bumped?
yes =) I guess we can close it.