From the output: !!! ERROR: dev-libs/libxml2-2.6.17 failed. !!! Function dyn_install, Line 1445, Exitcode 0 !!! File /tmp/portage/libxml2-2.6.17/image///usr/lib/python2.3/site-packages/libxml2mod.so matches a file type that is not allowed in /usr/lib Reproducible: Always Steps to Reproduce: Emerge w/ FEATURES=multilib-strict Actual Results: See above. 64-bit shared object installed to lib instead of lib64. Expected Results: Installed 64-bit shared objects to lib64, 32-bit to lib32 (under current profile, amd64/2005.0). emerge info: Portage 2.0.51-r15 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11-rc2 x86_64) ================================================================= System uname: 2.6.11-rc2 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jul 26 2004, 01:21:27)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -Os -pipe -funit-at-a-time -fomit-frame-pointer -frename-registers -fweb -fPIC" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /m /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/X11/xkb /usr/share/config /usr/share/mc /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -Os -pipe -funit-at-a-time -fomit-frame-pointer -frename-registers -fweb -fPIC" DISTDIR="/p/src" FEATURES="autoaddcvs autoconfig buildpkg candy ccache confcache distlocks multilib-strict sandbox" GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://gentoo.osuosl.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo" LDFLAGS="-Wl,-z,now" MAKEOPTS="-j3" PKGDIR="/p/pkg" PORTAGE_TMPDIR="/tmp" PORTDIR="/p" PORTDIR_OVERLAY="/usr/local/p" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X aac aalib acpi alsa apm arts audiofile avi berkdb bitmap-fonts caps cdparanoia cdr crypt cups curl dga divx4linux dvd dvdr encode fam flac font-server foomaticdb gdbm gif gpm gstreamer gtk gtk2 imlib ithreads jp2 jpeg kde libwww lzw lzw-tiff mad maildir micmod mng motif mozilla mpeg ncurses no-old-linux nptl nptlonly offensive oggvorbis opengl oss pam pdflib perl pic png ppds python qt quicktime radeon readline scanner slang speex spell ssl tcltk theora tiff truetype truetype-fonts type1-fonts usb userlocales xine xinerama xml2 xosd xpm xrandr xv xvid zlib video_cards_ati input_devices_keyboard input_devices_mouse linguas_en" Unset: ASFLAGS, CBUILD, CTARGET
try with sane CFLAGS. -Os is known to break things, as well as -fPIC(an ebuild will add it where needed) feel free to reopen if sane CFLAGS doesn't solve your problem.