When I try to emerge KDE 3.5, I get an error on compiling arts-3.5: -- : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' .libs/dynamicskeleton.o(.gnu.linkonce.t._ZNSt8_Rb_treeISsSt4pairIKSsN4Arts19DynamicSkeletonData13InterfaceTypeEESt10_Select1stIS5_ESt4lessISsESaIS5_EE13insert_uniqueESt17_Rb_tree_iteratorIS5_ERKS5_+0x7b): In function `std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Arts::DynamicSkeletonData::InterfaceType>, std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Arts::DynamicSkeletonData::InterfaceType> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Arts::DynamicSkeletonData::InterfaceType> > >::insert_unique(std::_Rb_tree_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Arts::DynamicSkeletonData::InterfaceType> >, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Arts::DynamicSkeletonData::InterfaceType> const&)': : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' collect2: ld returned 1 exit status make[3]: *** [libmcop.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/arts-3.5.0/work/arts-1.5.0/mcop' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/arts-3.5.0/work/arts-1.5.0/mcop' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/arts-3.5.0/work/arts-1.5.0' make: *** [all] Error 2 !!! ERROR: kde-base/arts-3.5.0 failed. !!! Function kde_src_compile, Line 173, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. -- My relevant useflags are: +alsa, +arts, -artswrappersuid, -debug, +esd, -jack, -kdeenablefinal, +mp3, -nas, +vorbis, -xinerama I also tried -alsa and got the same error. GCC is version 3.4.4-r1
Have you recently updated gcc?
No, I emerged gcc-3.4.4-r1 right after installation. It's not a fresh install, I'm using it since 3 months. I tried a "revdep-rebuild" and "fix_libtool_files.sh" but it didn't help.
Created attachment 74925 [details] full error log of arts-3.5 compile run
Check that you don't have gcc 3.3 installed and run revdep-rebuild after unmerging it if you have. If it's still an issue try to disable ccache if you have it enabled. Also please post emerge info.
I had gcc-3.3.5 installed, but unmerging it didn't help. My emerge info: Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.14.3 i686) ================================================================= System uname: 2.6.14.3 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib alsa apache2 apm arts audiofile avi berkdb bidi bitmap-fonts bluetooth bzip2 cdr crypt cups divx4linux dvb dvd eds emboss encode esd ethereal exif expat faad fam ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif gimpshop glut gnokii gnome gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 java jpeg kerberos lcms ldap libg++ libwww live logitech-mouse lua mad matroska mhash mikmod mmx mmx2 mng motif mozilla mp3 mpeg mplayer ncurses nls nptl ogg oggvorbis openal opengl oss pam pcre pdflib perl png ppds python quicktime rdesktop readline real samba sdl sms spell sqlite sse ssl stream tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev usb v4l vcd vorbis wifi win32codecs winbind wxgtk1 wxwindows xine xml2 xmms xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Quick change of platform in bugzilla. Sorry about the email.
I just wanted to inform you that the same error occurs when I compile the sources from kde.org with the same options ("./configure --enable-alsa --enable-vorbis --enable-libmad --without-jack --with-esd --without-nas --with-audiofile --without-mas"). Seems not to be a gentoo specific issue. Should I report the bug directly to the KDE Team?
I don't think it is KDE specific, it comes from the toolchain but it's difficult to point out the cause exactly. You could try to install different versions of binutils, just to name a possibility. See also bug 91721. *** This bug has been marked as a duplicate of 91721 ***
*** Bug 128330 has been marked as a duplicate of this bug. ***