Steps to reproduce: 1) USE="mmx" emerge =ffmpeg-0.4.9_p20060302 i686-gentoo-freebsd6.0-gcc -Wall -Wno-switch -pthread -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/cputest.o i386/cputest.c i686-gentoo-freebsd6.0-gcc -Wall -Wno-switch -pthread -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c In file included from i386/dsputil_mmx.c:2492: i386/h264dsp_mmx.c:49:1: warning: "SBUTTERFLY" redefined i386/dsputil_mmx.c:1525:1: warning: this is the location of the previous definition i386/h264dsp_mmx.c:1147:1: warning: "PUT_OP" redefined i386/dsputil_mmx.c:2377:1: warning: this is the location of the previous definition i386/dsputil_mmx.c: In function `transpose4x4': i386/dsputil_mmx.c:621: error: can't find a register in class `GENERAL_REGS' while reloading `asm' gmake[1]: *** [i386/dsputil_mmx.o] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavcodec' gmake: *** [lib] Error 2 !!! ERROR: media-video/ffmpeg-0.4.9_p20060302 failed. Call stack: ebuild.sh, line 1532: Called dyn_compile ebuild.sh, line 929: Called src_compile ffmpeg-0.4.9_p20060302.ebuild, line 157: Called die !!! static failed !!! If you need support, post the topmost build error, and the call stack if relevant. # emerge --info Portage 2.1_pre7-r5 (default-bsd/fbsd/6.0/x86, gcc-, freebsd-lib-6.0-r1, 6.0-RELEASE i386) ================================================================= System uname: 6.0-RELEASE i386 i386 Gentoo Base System version 20060401 ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 6.0 ACCEPT_KEYWORDS="x86 x86-fbsd ~x86 ~x86-fbsd" AUTOCLEAN="yes" CBUILD="i686-gentoo-freebsd6.0" CFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer" CHOST="i686-gentoo-freebsd6.0" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache collision-protect distlocks metadata-transfer sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="it" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay /usr/local/portage/portage-twominds" SYNC="rsync://193.206.55.206/gentoo-portage" USE="x86-fbsd 3dnow X a52 acpi apm arts audiofile bzip2 cdr cups dvd dvdr dvdread ffmpeg fortran gdbm gif glitz gs gtk jpeg kde lzo mad mjpeg mmx mp3 mpeg musicbrainz ncurses nls nopie nossp offensive ogg opengl oss pam perl pic png ppds profile python qt quicktime readline sdl sndfile sse sse2 ssl suid theora threads tiff truetype unicode usb vorbis xcomposite xml xmms xscreensaver xv xvid zlib elibc_FreeBSD input_devices_mouse input_devices_keyboard kernel_FreeBSD linguas_it userland_BSD video_cards_nv video_cards_vesa video_cards_fbdev video_cards_none" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS
This sounds like it's not taking up your CFLAGS ...
Yep there was an error in the configure script. Fixed in CVS without revbump, patch going upstream soon.