Hi, I've got a problem in emerging kde-base/kdesdk-misc-4.7.4. The same error is with 4.6.3 version.I re-emerged gcc and binutils with hope that it fixes the libiberty.a problem, but it didn't. Reproducible: Always Steps to Reproduce: 1. emerge =kde-base/kdesdk-misc-4.7.4 Actual Results: emake failed. Expected Results: Compilation successful. Portage Tree: /usr/portage Portage HEAD: 70cb161a48b481d8532a746d3e0ab260b56c2417 /usr/portage/.git/refs/heads/regen2 Portage 2.2.0_alpha84-r1 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.2, glibc-2.14.1-r2, 3.1.7-regen2 x86_64) ================================================================= System uname: Linux-3.1.7-regen2-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.1 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.7 [enabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.2 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo proaudio sunrise toolchain systemd localrepo Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=amdfam10 -fomit-frame-pointer -ftree-vectorize -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -finline-functions" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" 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" CXXFLAGS="-O2 -pipe -march=amdfam10 -fomit-frame-pointer -ftree-vectorize -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -finline-functions" DISTDIR="/home/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles localpatch news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="pl_PL.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="pl" MAKEOPTS="-j5 -s" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/pro-audio /var/lib/layman/sunrise /var/lib/layman/toolchain /var/lib/layman/systemd /home/portage/localrepo" SYNC="git://git.asiotec.org/regen2/regen2-portage.git" SYNC_USER="root" USE="3dnow X a52 aac acl acpi alsa amd64 arts audiofile bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cvs cxx dbus declarative djvu dri dts dvb dvd dvdr emboss encode exif fbcon ffmpeg firefox flac fontconfig fortran ftp fuse gadu gdbm gdu gif gimp gpm gstreamer gzip iconv imlib ipv6 jabber jack java javascript jbig jingle jpeg jpeg2k kde kipi lame lcms ldap libgda libnotify lua mad matroska mime mms mmx mng modules mono mp3 mp4 mpeg mplayer mudflap multilib multimedia ncurses networkmanager nls nptl nptlonly ogg openal opengl openmp pam pango pcre pdf perl phonon php pic plasma png policykit ppds pppd python qt3 qt3support qt4 quicktime raw readline sdl session spell sse sse2 sse3 sse4 ssl ssse3 startup-notification subversion svg sysfs syslog systemd taglib tcpd theora thumbnail tiff truetype udev unicode usb vcd vorbis wavpack wifi wmf x264 xc xcb xcomposite xft xine xinerama xml xorg xpm xscreensaver xulrunner xv xvid 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon krita stage tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, SYNC_UMASK
Created attachment 299333 [details] kde-base/kdesdk-misc-4.7.4 build log.
Created attachment 300381 [details] another build log
Created attachment 300411 [details, diff] ebuild patch for -4.7.4
Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) kde-base/kdesdk-misc-4.7.4 >>> Installing (1 of 1) kde-base/kdesdk-misc-4.7.4 perfect
Comment on attachment 300411 [details, diff] ebuild patch for -4.7.4 Ian Delaney has a different issue, namely not having selected a system vm. Therefore marking the patch obsolete. The dependency should be changed to >=dev-java/antlr-2.7.7:0[cxx,java,script] Current stable ebuilds don't enforce "script? (java )" while it's need to get the script(a gentoo java launcher).
Ok, I found the solution. The point was that the libiberty.a was linked to wrong binutils version. Manual re-linking fixed the problem. Shouldn't eselect do it for me?...
In the doc http://www.gentoo.org/doc/en/change-chost.xml you can find hints to verify if your system is sane.