gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -w -march=athlon-mp -O3 -pipe -fomit-frame-pointer -fPIC -ffast-math -mfpmath=sse, 387 -m3dnow -frename-registers -c `test -f 'getopt.c' || echo './'`getopt.c distcc[12086] ERROR: compile on localhost failed cpu_accel.c: In function `arch_accel': cpu_accel.c:78: error: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:84: error: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:92: error: can't find a register in class `BREG' while reloading `asm' cpu_accel.c:96: error: can't find a register in class `BREG' while reloading `asm' make[3]: *** [cpu_accel.o] Error 1 Reproducible: Always Steps to Reproduce: I am using an NPTL-enabled glibc, and the following system settings: USE="3dnow aalib acpi acpi4linux apache2 avi cdr crypt dga dvd flac gtk2 \ icc icc-pgo imlib informix java jikes joystick junit \ mikmod mmx moznoirc moznomail mozp3p mysql nas nocardbus nptl \ odbc offensive oggvorbis openal opengl oss am perl pic psyco \ qt qtmt quicktime samba sse ssl stroke svgalib \ tiff tcltk tcl tk wxwindows usb wmf xml xml2 xmms xv zlib \ -alsa -apm -emacs -esd -esound -glade -gnome -gnome2 -ldap -nls \ -ruby \ " FEATURES="distcc ccache prelink sandbox fixpackages" CFLAGS="-w -march=athlon-mp -O3 -pipe -fomit-frame-pointer -fPIC -ffast-math -mfpmath=sse,387 -m3dnow -frename-registers" glibc-2.3.2-r8 gcc-3.3.2-r2 Gentoo Base System version 1.4.3.12 distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86"
take fpic out of your CFLAGS