Ebuild is using "cc" instead of "${CHOST}-cc" so if one of your distcc servers is hosted on a different architecture, compilation fails, even if the appropriate cross-compiler is present. Reproducible: Always Steps to Reproduce: 1. emerge distcc 2. enable/configure distcc 3. emerge f2c Actual Results: >>> Compiling source in /home/portage/dev-lang/f2c-20030320-r1/work/src ... cc -O2 -march=pentium-m -pipe -fomit-frame-pointer -o xsum xsum.c cc -c -O2 -march=pentium-m -pipe -fomit-frame-pointer main.c cc -c -O2 -march=pentium-m -pipe -fomit-frame-pointer init.c cc -c -O2 -march=pentium-m -pipe -fomit-frame-pointer gram.c main.c:1: error: CPU you selected does not support x86-64 instruction set main.c:1: error: CPU you selected does not support x86-64 instruction set distcc[19507] ERROR: compile main.c on 192.168.0.104 failed make: *** [main.o] Error 1 make: *** Waiting for unfinished jobs.... init.c:1: error: CPU you selected does not support x86-64 instruction set init.c:1: error: CPU you selected does not support x86-64 instruction set distcc[19509] ERROR: compile init.c on 192.168.0.104 failed make: *** [init.o] Error 1 Expected Results: >>> Source compiled. This bug is fixed in dev-lang/f2c-20060507, however it is still ~arch. Portage 2.1.4.5 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686) ================================================================= System uname: 2.6.25-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz Timestamp of tree: Tue, 04 Nov 2008 06:15:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distcc distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.iinet.net.au/pub/Gentoo " LC_ALL="en_AU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_AU en_AU.UTF-8 en_GB en_GB.UTF-8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/home" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt curl dbus dga dri dts dv dvb dvd dvdr dvdread emboss encode evo expat fam ffmpeg fftw firefox flac fontconfig fortran gdbm gif gnome gnutls gpm graphviz gstreamer gtk hal iconv ieee1394 imlib ipv6 isdnlog java java6 javascript jpeg kde kqemu laptop libnotify lirc lzo mad matroska midi mikmod mmap mmx mng mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sharedmem spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd theora tiff truetype unicode usb vorbis wifi win32codecs wmf wxwindows x86 xcomposite xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_AU.UTF-8 en_GB en_GB.UTF-8" USERLAND="GNU" VIDEO_CARDS="fglrx radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Oddly enough this has already been fixed in dev-lang/f2c-20060507 so maybe that version should be stabilised and the older one removed.
f2c-20060507 finally stable, closing.