Compiling mjpegtools-1.6.1.90-r2 says: cpu_accel.c:87: error: can't find a register in class `BREG' while reloading `asm' Reproducible: Always Steps to Reproduce: 1. emerge =mjpegtools-1.6.1.90-r2 Actual Results: cpu_accel.c: In function `x86_accel': cpu_accel.c:87: error: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:104: error: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:110: error: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:132: error: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:136: error: can't find a register in class `BREG' while reloading `asm' make[3]: *** [cpu_accel.o] Error 1 Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3) ================================================================= System uname: 2.6.3 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.5-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O2 -pipe -fPIC -ffast-math -mfpmath=387 -funroll-loops -falign-functions=4 -frename-registers -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-tbird -O2 -pipe -fPIC -ffast-math -mfpmath=387 -funroll-loops -falign-functions=4 -frename-registers -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.caliu.info/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://gentoo.inode.at/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage-local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acpi alsa apm arts avi berkdb cdr crypt cups directfb dvd encode esd evo ffmpeg flash foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib java jpeg kde lcms ldap libg++ libwww lirc mad mikmod mmx motif mozilla mpeg ncurses nls odbc oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba sdl slang spell ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xosd xv xvid zlib"
drop down your CFLAGS and try again
and leave -fPIC untouched, don't force this flag !
Created attachment 27804 [details] Full emerge output
Ok. It was the -fPIC flag. Sorry for wasting your time :(