The xorg-x11-6.8.0-r4 ebuild calls use_build() to set definitions in host.def. The ones for x86 are within a 'if use x86' conditional block. This causes the correct values of 'HasMMXSupport' etc to be added to host.def defending on the use flags. But this block of code is followed immediately by use_build() calls which have amd64 as the first parameter, which causes all of the HasXXX lines to be appended to host.def again with a value 'NO' (as amd64 is not defined). I think that this block of code in the ebuild should be within a 'if use amd64' block. Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge --info Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 12 2004, 13:35:10)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -mtune=pentium3 -pipe -fstack-protector" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -mtune=pentium3 -pipe -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr ftp://mirror.nutsmaas.nl/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 X aalib acl aim alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bonobo bzlib caps cdparanoia cdr crypt ctype cups curl curlwrappers divx4linux doc dvd dvdr emacs encode esd exif f77 faac fam fbcon flac font-server foomaticdb fortran gdbm gif gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile iconv icq imagemagick imlib ipv6 jabber java jce jpeg junit kde lcms leim libg++ libwww live lm_sensors mad mikmod mmx mng motif mozilla mozsvg mozxmlterm mpeg msn native ncurses network nls nptl offensive oggvorbis opengl oscar oss pam pcntl pcre pdflib perl png posix postgres python qt quicktime readline recode sdl shared sharedmem slang snmp sockets speex spell sse ssl svg svga sysvipc tcltk tcpd tetex theora threads tiff truetype truetype-fontstype1 type1-fonts unicode usb utf8 wmf wxwindows xine xml xml2 xmms xv yahoo zlib linguas_en_GB" Unset: LDFLAGS
Created attachment 49150 [details, diff] patch to fix multiple host.def entries This patch fixes the problem, but may not be the optimal solution
Woops.
Good catch. Fixed in CVS.