kdelibs is failing to emerge. The error comes from libtool. "undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)" ~x86 system, with an Athlon64. (emerge --info at the bottom.) The error is consistent. I've tried both revdep-rebuild and emerge -e kdelibs; neither helped. # emerge kdelibs ... /bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kdecore -I../kio/kssl -I../kjs -I../kabc -I../kabc -I../kab -I./vcard/include -I./vcardparser/ -I./vcard/include/generated -I./vcardparser -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o addresseehelper_skel.lo addresseehelper_skel.cpp /bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libkabc.la -rpath /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -version-info 3:0:2 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined address.lo addressbook.lo addressee.lo addresseedialog.lo agent.lo distributionlist.lo distributionlistdialog.lo distributionlisteditor.lo errorhandler.lo field.lo formatfactory.lo geo.lo key.lo phonenumber.lo picture.lo plugin.lo resource.lo resourceselectdialog.lo secrecy.lo sound.lo stdaddressbook.lo timezone.lo vcard21parser.lo vcardconverter.lo vcardformat.lo vcardformatimpl.lo vcardformatplugin.lo ldifconverter.lo addresslineedit.lo ldapclient.lo addresseelist.lo vcardtool.lo addresseehelper.lo lock.lo locknull.lo ldif.lo ldapurl.lo ldapconfigwidget.lo sortmode.lo addresseehelper_skel.lo vcard/libvcard.la vcardparser/libvcards.la ../kio/libkio.la ../kresources/libkresources.la .libs/addresseehelper.o: In function `std::_Rb_tree<QString, QString, std::_Identity<QString>, std::less<QString>, std::allocator<QString> >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, QString const&)': addresseehelper.cpp:(.text._ZNSt8_Rb_treeI7QStringS0_St9_IdentityIS0_ESt4lessIS0_ESaIS0_EE9_M_insertEPSt18_Rb_tree_node_baseS8_RKS0_[std::_Rb_tree<QString, QString, std::_Identity<QString>, std::less<QString>, std::allocator<QString> >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, QString const&)]+0x70): undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)' .libs/addresseehelper.o: In function `std::_Rb_tree<QString, QString, std::_Identity<QString>, std::less<QString>, std::allocator<QString> >::insert_unique(QString const&)': addresseehelper.cpp:(.text._ZNSt8_Rb_treeI7QStringS0_St9_IdentityIS0_ESt4lessIS0_ESaIS0_EE13insert_uniqueERKS0_[std::_Rb_tree<QString, QString, std::_Identity<QString>, std::less<QString>, std::allocator<QString> >::insert_unique(QString const&)]+0x5c): undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' collect2: ld returned 1 exit status make[3]: *** [libkabc.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4/kabc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4/kabc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r2/work/kdelibs-3.5.4' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.5.4-r2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile kdelibs-3.5.4-r2.ebuild, line 128: Called kde_src_compile kde.eclass, line 164: Called kde_src_compile 'all' kde.eclass, line 331: Called kde_src_compile 'myconf' 'configure' 'make' kde.eclass, line 327: Called die !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, and the call stack if relevant. # emerge --info Portage 2.1.2_pre2-r6 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.2.5-r2,glibc-2.4-r4, 2.6.18-gentoo i686) ================================================================= System uname: 2.6.18-gentoo i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ Gentoo Base System version 1.12.5 Last Sync: Sun, 08 Oct 2006 07:20:01 +0000 ccache version 2.4 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4, 2.5-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://bonnie.ripton.net/gentoo-portage" USE="x86 3dnow X aac alsa apache2 berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imap input_devices_keyboard input_devices_mouse isdnlog java jpeg junit kde kernel_linux ldap libg++ mad maildir mikmod mmx mozilla mozsvg mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl svg tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nv video_cards_nvidia vorbis win32codecs xml xmms xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Please follow http://www.gentoo.org/doc/en/gcc-upgrading.xml *** This bug has been marked as a duplicate of 64615 ***