libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -fcheck-new -I../../include -O2 -march=k8 -pipe -ggdb -msse2 -c TDStretch.cpp -o TDStretch.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -fcheck-new -I../../include -O2 -march=k8 -pipe -ggdb -msse2 -c -o cpu_detect_x86_gcc.lo cpu_detect_x86_gcc.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -fcheck-new -I../../include -O2 -march=k8 -pipe -ggdb -msse2 -c cpu_detect_x86_gcc.cpp -fPIC -DPIC -o .libs/cpu_detect_x86_gcc.o cpu_detect_x86_gcc.cpp: Assembler messages: cpu_detect_x86_gcc.cpp:140: Error: suffix or operands invalid for `pop' cpu_detect_x86_gcc.cpp:143: Error: suffix or operands invalid for `push' cpu_detect_x86_gcc.cpp:146: Error: suffix or operands invalid for `pop' make[2]: *** [cpu_detect_x86_gcc.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/libsoundtouch-1.4.0/work/soundtouch/source/SoundTouch' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/libsoundtouch-1.4.0/work/soundtouch/source' make: *** [all-recursive] Error 1 * * ERROR: media-libs/libsoundtouch-1.4.0 failed. Portage 2.2_rc33 (!..//usr/portage/profiles/default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r1-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1 Timestamp of tree: Unknown ccache version 2.4 [enabled] app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r2, 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/shutdown /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=k8 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/tmp" PORTDIR="/home/pal/code/gentoo-x86/" PORTDIR_OVERLAY="/usr/local/portage/layman/qting-edge /usr/local/portage/layman/x11 /home/pal/code/kde" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdio cdparanoia cdr cli cracklib crypt cups curl dbus dga dri dts dv dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran ftp gdbm ggi gif gpm iconv ipv6 isdnlog jack jpeg jpeg2k kde kdeenablefinal kdeprefix kpathsea ladspa libnotify lzo mad md5sum midi mikmod mmx mmxext mng mp2 mp3 mpeg mudflap multilib musepack nas ncurses nls nptl nptlonly objc ogg openal opengl openmp pam pcre pdf perl png pnm ppds pppd python qt3 qt3support qt4 quicktime rar readline reflection rtc sasl sdl session slang speex spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd tga theora tiff truetype unicode usb vorbis webkit x264 xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
You managed to enable the masked USE sse2? Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.4.0, glibc-2.10.1-r0, 2.6.29.1foobar x86_64) [ebuild R ] media-libs/libsoundtouch-1.4.0 USE="(-sse2)" 0 kB
As discussed in IRC, your /etc/make.profile should be pointed as cvs tree if you are using PORTDIR as so