x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -fPIC -I/var/tmp/portage/sys-libs/libcap-2.10/work/libcap-2.10/libcap/../libcap/include -I/var/tmp/portage/sys-libs/libcap-2.10/work/libcap-2.10/libcap/../libcap/include -Dlinux -c cap_text.c -o cap_text.o x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -fPIC -I/var/tmp/portage/sys-libs/libcap-2.10/work/libcap-2.10/libcap/../libcap/include -I/var/tmp/portage/sys-libs/libcap-2.10/work/libcap-2.10/libcap/../libcap/include -Dlinux -c cap_file.c -o cap_file.o x86_64-pc-linux-gnu-gcc -Wl,-x -shared -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -fPIC -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -L/var/tmp/portage/sys-libs/libcap-2.10/work/libcap-2.10/libcap -L/var/tmp/portage/sys-libs/libcap-2.10/work/libcap-2.10/libcap/../libcap -Wl,-soname,libcap.so.2 -o libcap.so.2.10 cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o -lattr x86_64-pc-linux-gnu-ar rcs libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o x86_64-pc-linux-gnu-ranlib libcap.a cap_text.o: file not recognized: File format not recognized collect2: ld returned 1 exit status make[1]: *** [libcap.so.2.10] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-libs/libcap-2.10/work/libcap-2.10/libcap' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge =sys-libs/libcap-2.10 Portage 2.1.5.5 (default-linux/amd64/2007.0, gcc-4.2.4, glibc-2.7-r2, 2.6.26-rc4-zen1.2 x86_64) ================================================================= System uname: 2.6.26-rc4-zen1.2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor3800+ Timestamp of tree: Fri, 13 Jun 2008 16:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.3-r4, 2.5.2-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="" FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://gentoo.wpi.edu/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://distfiles.gentoo.org" INSTALL_MASK="" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" LINGUAS="en en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="" 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="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/x11 /usr/portage/local/layman/verlihub /usr/portage/local/layman/sabayon /usr/portage/local/layman/zen-overlay /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi aim alsa amazon amd64 ao apache2 apm async asyncns audiofile avahi bash-completion bcmath beagle berkdb binary-drivers bittorrent blas bluetooth branding bzip2 cairo caps cdda cddb cdinstall cdio cdparanoia cdr chm clamav cli clucene cpudetection cpufreq cracklib crypt cscope css ctype cups cupsddk curl curlwrappers cviewer daap dbase dbus device-mapper disk-partition divx djvu dri dv dvd dvdr dvdread emovix encode exif exiv2 expat fam fastbuild fat fbcon fbcondecor fbsplash ffmpeg fftw firefox fits flac fortran ftp fuse gd gdbm geoip gif gimp ginac git glib glibc-omitfp glitz glutgmedia gmp gnutls gphoto2 gpm graphviz gsl gstreamer gtk gtkhtml hal hddtemp howl-compat hpn htmlhandbook httpd iconv icq icu id3tag idea idn imagemagick imap imlib inotify ipod ipv6 isdnlog ithreads jabber java java-external java6 javascript jbig jikes jingle joystick jpeg jpeg2k kde kde4 kdehiddenvisibility kerberoskqemu lame lapack lcms ldap levels libcaca libffi libgcrypt libnotify libsamplerate libssh2 libvisual libwww lirc live lm_sensors lzo mad madwifi matroska mcalmdnsresponder-compat mhash midi mikmod mime mjpeg mmx mmxext mng mono moonlightmotif moznopango mp2 mp3 mp4 mpeg mpi mplayer msn mudflap multitarget musepack music musicbrainz mysql mysqli mythtv na_dd na_icons ncurses networkmanager nforce2 nis nls nntp nocd nova nptl nptlonly nsplugin ntfs nuv nvidia offensive ogg openal openexr opengl openmp optimisememory oscar pam pango pcntl pcre pdf perl perlsuid php plotutils pmu png portaudio posix ppds pppd pulseaudio python qt3 qt3support qt4 quicktime radio rar raw rdesktop readline realmedia reflection reiserfs remix rle samba sasl sbig sdl server session shorten shout skins slang slpsmp sndfile snmp soap sockets socks5 sound sounds speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification stream subtitles subversion suid svg syslog system-libvncserver sysvipc szip taglib tcpd themes theora threads tiff toolbar transcode truetype tunepimp tv tv_check tv_combiner twolame unicode upnp usb userlocales utempter v4l v4l2 vcd vcdx vhosts videos vim-syntax vim-with-x visualization vlm vnc vncviewer voice vorbis wavpack wifi wireshark wma wmf wmp wxwindows x264 xanim xattr xcb xcomposite xext xface xforms xft xine xinetd xml xmlrpc xmp xorg xosd xpm xscreensaver xulrunner xv xvid xvmc xvnc yahoo yv12 zip zlib zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="inputlirc devinput" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l" Unset: CPPFLAGS, CTARGET, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
try building with MAKEOPTS=-j1 ... also, post the full build log as an attachment