I wanted to prepare my system for prelinking by incorporating the new use-flags, like mentioned in the "Gentoo Linux Prelink Guide", then after a while portage keeps on showing a lot of weird code Reproducible: Always Steps to Reproduce: 1. add "pic" to the use-flags in /etc/make.conf 2. run "emerge --update --deep --newuse world" 3. kmail-3.4.1-r1 fails Actual Results: collect2: ld returned 1 exit status make[3]: *** [libkmailprivate.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kmail-3.4.1-r1/work/kmail-3.4.1/kmail' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kmail-3.4.1-r1/work/kmail-3.4.1/kmail' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kmail-3.4.1-r1/work/kmail-3.4.1' make: *** [all] Error 2 !!! ERROR: kde-base/kmail-3.4.1-r1 failed. !!! Function kde_src_compile, Line 169, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Expected Results: kmail should have compiled flawlessly and portage should have compiled the rest of the other software epim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib - I../certmanager/lib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.4/incl ude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_B SD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith - Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer - msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wforma t-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRAN SLATION -c -o mailcomposerIface_skel.lo `test -f 'mailcomposerIface_skel.cpp' | | echo './'`mailcomposerIface_skel.cpp /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAV E_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkd epim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib - I../certmanager/lib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.4/incl ude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_B SD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith - Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer - msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wforma t-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRAN SLATION -c -o folderIface_skel.lo `test -f 'folderIface_skel.cpp' || echo './'` folderIface_skel.cpp /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAV E_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkd epim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib - I../certmanager/lib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.4/incl ude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_B SD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith - Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer - msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wforma t-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRAN SLATION -c -o signatureconfigurationdialog.lo `test -f 'signatureconfigurationd ialog.cpp' || echo './'`signatureconfigurationdialog.cpp /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAV E_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkd epim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib - I../certmanager/lib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.4/incl ude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_B SD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith - Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer - msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wforma t-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRAN SLATION -c -o encryptionconfigurationdialog.lo `test -f 'encryptionconfiguratio ndialog.cpp' || echo './'`encryptionconfigurationdialog.cpp /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAV E_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkd epim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib - I../certmanager/lib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.4/incl ude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_B SD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith - Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer - msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wforma t-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRAN SLATION -c -o certificatehandlingdialog.lo `test -f 'certificatehandlingdialog. cpp' || echo './'`certificatehandlingdialog.cpp /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAV E_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkd epim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib - I../certmanager/lib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.4/incl ude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_B SD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith - Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer - msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wforma t-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRAN SLATION -c -o certificatewizard.lo `test -f 'certificatewizard.cpp' || echo './ '`certificatewizard.cpp /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAV E_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkd epim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib - I../certmanager/lib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.4/incl ude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_B SD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith - Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer - msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wforma t-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRAN SLATION -c -o folderpropertiesdialog.lo `test -f 'folderpropertiesdialog.cpp' | | echo './'`folderpropertiesdialog.cpp /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAV E_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkd epim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib - I../certmanager/lib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.4/incl ude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_B SD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith - Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer - msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wforma t-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRAN SLATION -c -o composercryptoconfiguration.lo `test -f 'composercryptoconfigurat ion.cpp' || echo './'`composercryptoconfiguration.cpp /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAV E_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkd epim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib - I../certmanager/lib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.4/incl ude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_B SD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith - Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer - msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wforma t-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRAN SLATION -c -o warningconfiguration.lo `test -f 'warningconfiguration.cpp' || ec ho './'`warningconfiguration.cpp /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAV E_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkd epim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib - I../certmanager/lib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.4/incl ude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_B SD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith - Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer - msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wforma t-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRAN SLATION -c -o smimeconfiguration.lo `test -f 'smimeconfiguration.cpp' || echo ' ./'`smimeconfiguration.cpp /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAV E_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkd epim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib - I../certmanager/lib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.4/incl ude -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_B ITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_B SD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith - Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer - msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wforma t-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRAN SLATION -c -o kmailpartIface_skel.lo `test -f 'kmailpartIface_skel.cpp' || echo './'`kmailpartIface_skel.cpp /bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wnon-v irtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcas t-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -fr ename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer -msse -mfpmath=s se -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Wformat-security -Wmi ssing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAM ESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o l ibkmailprivate.la -rpath /usr/kde/3.4/lib -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/ usr/lib -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-und efined kmmessage.lo kmmainwin.lo configuredialog.lo configuredialog_p.lo simples tringlisteditor.lo kmmsgindex.lo identitydrag.lo identitylistview.lo identitydia log.lo kmfolderdia.lo kmfoldertree.lo kmtransport.lo kmfoldercombobox.lo kmaccou nt.lo kmheaders.lo headeritem.lo listjob.lo kmcomposewin.lo kmfolder.lo kmmsgpar tdlg.lo kmreaderwin.lo htmlstatusbar.lo kmmsgdict.lo kmgroupware.lo folderstorag e.lo csshelper.lo klistboxdialog.lo actionscheduler.lo messageproperty.lo kmmsgp art.lo kmmsginfo.lo kmacctmgr.lo kmacctfolder.lo kmdict.lo kmsystemtray.lo kmacc tlocal.lo kmfolderdir.lo kmfoldermgr.lo kmfoldernode.lo kmsender.lo kmacctseldlg .lo kmfiltermgr.lo kmsearchpatternedit.lo kmfilteraction.lo kmsearchpattern.lo k mfolderseldlg.lo kmfilter.lo kmfilterdlg.lo kmmsgbase.lo kmmsglist.lo kmaddrbook .lo signatureconfigurator.lo xfaceconfigurator.lo networkaccount.lo imapaccountb ase.lo kmservertest.lo kmacctimap.lo kmacctcachedimap.lo kmfawidgets.lo kmfolder mbox.lo kmfolderimap.lo undostack.lo kmfoldercachedimap.lo kmfoldermaildir.lo km acctexppop.lo colorlistbox.lo kmkernel.lo accountdialog.lo kmfldsearch.lo vcardv iewer.lo vacationdialog.lo vacation.lo sieveconfig.lo sievejob.lo kmpopheaders.l o kmpopfiltercnfrmdlg.lo kmmimeparttree.lo certificatehandlingdialogimpl.lo cert ificatewizardimpl.lo mailinglist-magic.lo kmacctmaildir.lo attachmentstrategy.lo headerstrategy.lo headerstyle.lo khtmlparthtmlwriter.lo filehtmlwriter.lo teeht mlwriter.lo objecttreeparser.lo attachmentcollector.lo bodypartformatter.lo body partformatterfactory.lo partNode.lo signatureconfigurationdialogimpl.lo encrypti onconfigurationdialogimpl.lo mailsourceviewer.lo kmcommands.lo kmreadermainwin.l o kmstartup.lo kmmainwidget.lo kmfolderindex.lo kmfoldersearch.lo transportmanag er.lo folderjob.lo cachedimapjob.lo maildirjob.lo mboxjob.lo imapjob.lo subscrip tiondialog.lo kmailicalifaceimpl.lo aboutdata.lo folderIface.lo mailserviceimpl. lo attachmentlistview.lo isubject.lo bodyvisitor.lo antispamwizard.lo urlhandler manager.lo dictionarycombobox.lo secondarywindow.lo filterlog.lo filterlogdlg.lo messagecomposer.lo keyresolver.lo regexplineedit.lo rulewidgethandlermanager.lo headerlistquicksearch.lo acljobs.lo folderdiaacltab.lo partnodebodypart.lo expi rejob.lo compactionjob.lo jobscheduler.lo callback.lo searchjob.lo renamejob.lo annotationjobs.lo accountcombobox.lo redirectdialog.lo foldershortcutdialog.lo f olderrequester.lo spamheaderanalyzer.lo antispamconfig.lo recipientseditor.lo re cipientspicker.lo kwindowpositioner.lo distributionlistdialog.lo expirypropertie sdialog.lo mailinglistpropertiesdialog.lo newfolderdialog.lo kmailIface_skel.lo kmailicalIface_skel.lo mailcomposerIface_skel.lo folderIface_skel.lo korganizeri face_stub.lo signatureconfigurationdialog.lo encryptionconfigurationdialog.lo ce rtificatehandlingdialog.lo certificatewizard.lo folderpropertiesdialog.lo compos ercryptoconfiguration.lo warningconfiguration.lo smimeconfiguration.lo globalset tings.lo replyphrases.lo custommimeheader.lo -lkhtml -lkspell -lkabc ../libkmime /libkmime.la ../libkpgp/libkpgp.la ../libkdepim/libkdepim.la ../libkpimidentitie s/libkpimidentities.la ../mimelib/libmimelib.la ../libksieve/libksieve.la ../lib emailfunctions/libemailfunctions.la ../certmanager/lib/libkleopatra.la ../libkca l/libkcal.la .libs/bodypartformatter.o(.gnu.linkonce.t._ZNSt8_Rb_treeIPKcSt4pairIKS1_PKN5KMai l9Interface17BodyPartFormatterEESt10_Select1stIS9_ENS4_31BodyPartFormatterFactor yPrivate5ltstrESaIS9_EE9_M_insertEPSt18_Rb_tree_node_baseSH_RKS9_+0x6e): In func tion `std::_Rb_tree<char const*, std::pair<char const* const, KMail::Interface:: BodyPartFormatter const*>, std::_Select1st<std::pair<char const* const, KMail::I nterface::BodyPartFormatter const*> >, KMail::BodyPartFormatterFactoryPrivate::l tstr, std::allocator<std::pair<char const* const, KMail::Interface::BodyPartForm atter const*> > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<char const* const, KMail::Interface::BodyPartFormatter const*> const& )': : 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/bodypartformatter.o(.gnu.linkonce.t._ZNSt8_Rb_treeIPKcSt4pairIKS1_PKN5KMai l9Interface17BodyPartFormatterEESt10_Select1stIS9_ENS4_31BodyPartFormatterFactor yPrivate5ltstrESaIS9_EE13insert_uniqueERKS9_+0xa7): In function `std::_Rb_tree<c har const*, std::pair<char const* const, KMail::Interface::BodyPartFormatter con st*>, std::_Select1st<std::pair<char const* const, KMail::Interface::BodyPartFor matter const*> >, KMail::BodyPartFormatterFactoryPrivate::ltstr, std::allocator< std::pair<char const* const, KMail::Interface::BodyPartFormatter const*> > >::in sert_unique(std::pair<char const* const, KMail::Interface::BodyPartFormatter con st*> const&)': : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' .libs/bodypartformatter.o(.gnu.linkonce.t._ZNSt8_Rb_treeIPKcSt4pairIKS1_PKN5KMai l9Interface17BodyPartFormatterEESt10_Select1stIS9_ENS4_31BodyPartFormatterFactor yPrivate5ltstrESaIS9_EE13insert_uniqueESt17_Rb_tree_iteratorIS9_ERKS9_+0x3d): In function `std::_Rb_tree<char const*, std::pair<char const* const, KMail::Interf ace::BodyPartFormatter const*>, std::_Select1st<std::pair<char const* const, KMa il::Interface::BodyPartFormatter const*> >, KMail::BodyPartFormatterFactoryPriva te::ltstr, std::allocator<std::pair<char const* const, KMail::Interface::BodyPar tFormatter const*> > >::insert_unique(std::_Rb_tree_iterator<std::pair<char cons t* const, KMail::Interface::BodyPartFormatter const*> >, std::pair<char const* c onst, KMail::Interface::BodyPartFormatter const*> const&)': : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' .libs/bodypartformatter.o(.gnu.linkonce.t._ZNSt8_Rb_treeIPKcSt4pairIKS1_St3mapIS 1_PKN5KMail9Interface17BodyPartFormatterENS5_31BodyPartFormatterFactoryPrivate5l tstrESaIS2_IS3_S9_EEEESt10_Select1stISF_ESB_SaISF_EE9_M_insertEPSt18_Rb_tree_nod e_baseSL_RKSF_+0xd6): In function `std::_Rb_tree<char const*, std::pair<char con st* const, std::map<char const*, KMail::Interface::BodyPartFormatter const*, KMa il::BodyPartFormatterFactoryPrivate::ltstr, std::allocator<std::pair<char const* const, KMail::Interface::BodyPartFormatter const*> > > >, std::_Select1st<std:: pair<char const* const, std::map<char const*, KMail::Interface::BodyPartFormatte r const*, KMail::BodyPartFormatterFactoryPrivate::ltstr, std::allocator<std::pai r<char const* const, KMail::Interface::BodyPartFormatter const*> > > > >, KMail: :BodyPartFormatterFactoryPrivate::ltstr, std::allocator<std::pair<char const* co nst, std::map<char const*, KMail::Interface::BodyPartFormatter const*, KMail::Bo dyPartFormatterFactoryPrivate::ltstr, std::allocator<std::pair<char const* const , KMail::Interface::BodyPartFormatter const*> > > > > >::_M_insert(std::_Rb_tree _node_base*, std::_Rb_tree_node_base*, std::pair<char const* const, std::map<cha r const*, KMail::Interface::BodyPartFormatter const*, KMail::BodyPartFormatterFa ctoryPrivate::ltstr, std::allocator<std::pair<char const* const, KMail::Interfac e::BodyPartFormatter const*> > > > const&)': : 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/bodypartformatter.o(.gnu.linkonce.t._ZNSt8_Rb_treeIPKcSt4pairIKS1_St3mapIS 1_PKN5KMail9Interface17BodyPartFormatterENS5_31BodyPartFormatterFactoryPrivate5l tstrESaIS2_IS3_S9_EEEESt10_Select1stISF_ESB_SaISF_EE13insert_uniqueERKSF_+0xa7): In function `std::_Rb_tree<char const*, std::pair<char const* const, std::map<c har const*, KMail::Interface::BodyPartFormatter const*, KMail::BodyPartFormatter FactoryPrivate::ltstr, std::allocator<std::pair<char const* const, KMail::Interf ace::BodyPartFormatter const*> > > >, std::_Select1st<std::pair<char const* cons t, std::map<char const*, KMail::Interface::BodyPartFormatter const*, KMail::Body PartFormatterFactoryPrivate::ltstr, std::allocator<std::pair<char const* const, KMail::Interface::BodyPartFormatter const*> > > > >, KMail::BodyPartFormatterFac toryPrivate::ltstr, std::allocator<std::pair<char const* const, std::map<char co nst*, KMail::Interface::BodyPartFormatter const*, KMail::BodyPartFormatterFactor yPrivate::ltstr, std::allocator<std::pair<char const* const, KMail::Interface::B odyPartFormatter const*> > > > > >::insert_unique(std::pair<char const* const, s td::map<char const*, KMail::Interface::BodyPartFormatter const*, KMail::BodyPart FormatterFactoryPrivate::ltstr, std::allocator<std::pair<char const* const, KMai l::Interface::BodyPartFormatter const*> > > > const&)': : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' .libs/bodypartformatter.o(.gnu.linkonce.t._ZNSt8_Rb_treeIPKcSt4pairIKS1_St3mapIS 1_PKN5KMail9Interface17BodyPartFormatterENS5_31BodyPartFormatterFactoryPrivate5l tstrESaIS2_IS3_S9_EEEESt10_Select1stISF_ESB_SaISF_EE13insert_uniqueESt17_Rb_tree _iteratorISF_ERKSF_+0x3d): In function `std::_Rb_tree<char const*, std::pair<cha r const* const, std::map<char const*, KMail::Interface::BodyPartFormatter const* , KMail::BodyPartFormatterFactoryPrivate::ltstr, std::allocator<std::pair<char c onst* const, KMail::Interface::BodyPartFormatter const*> > > >, std::_Select1st< std::pair<char const* const, std::map<char const*, KMail::Interface::BodyPartFor matter const*, KMail::BodyPartFormatterFactoryPrivate::ltstr, std::allocator<std ::pair<char const* const, KMail::Interface::BodyPartFormatter const*> > > > >, K Mail::BodyPartFormatterFactoryPrivate::ltstr, std::allocator<std::pair<char cons t* const, std::map<char const*, KMail::Interface::BodyPartFormatter const*, KMai l::BodyPartFormatterFactoryPrivate::ltstr, std::allocator<std::pair<char const* const, KMail::Interface::BodyPartFormatter const*> > > > > >::insert_unique(std: :_Rb_tree_iterator<std::pair<char const* const, std::map<char const*, KMail::Int erface::BodyPartFormatter const*, KMail::BodyPartFormatterFactoryPrivate::ltstr, std::allocator<std::pair<char const* const, KMail::Interface::BodyPartFormatter const*> > > > >, std::pair<char const* const, std::map<char const*, KMail::Inte rface::BodyPartFormatter const*, KMail::BodyPartFormatterFactoryPrivate::ltstr, std::allocator<std::pair<char const* const, KMail::Interface::BodyPartFormatter const*> > > > const&)': : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' .libs/bodypartformatterfactory.o(.text+0x466): In function `setup()': : undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_b ase*, std::_Rb_tree_node_base&)' .libs/keyresolver.o(.text+0x2fa7): In function `Kleo::KeyResolver::resolveSignin gKeysForEncryption()': : undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)' .libs/keyresolver.o(.gnu.linkonce.t._ZNSt8_Rb_treeI8QCStringS0_St9_IdentityIS0_E St4lessIS0_ESaIS0_EE9_M_insertEPSt18_Rb_tree_node_baseS8_RKS0_+0x80): In functio n `std::_Rb_tree<QCString, QCString, std::_Identity<QCString>, std::less<QCStrin g>, std::allocator<QCString> >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tre e_node_base*, QCString const&)': : 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/keyresolver.o(.gnu.linkonce.t._ZNSt8_Rb_treeI8QCStringS0_St9_IdentityIS0_E St4lessIS0_ESaIS0_EE13insert_uniqueERKS0_+0xe8): In function `std::_Rb_tree<QCSt ring, QCString, std::_Identity<QCString>, std::less<QCString>, std::allocator<QC String> >::insert_unique(QCString const&)': : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' .libs/keyresolver.o(.gnu.linkonce.t._ZNSt8_Rb_treeI7QStringSt4pairIKS0_N4Kleo11K eyResolver18ContactPreferencesEESt10_Select1stIS6_ESt4lessIS0_ESaIS6_EE9_M_inser tEPSt18_Rb_tree_node_baseSE_RKS6_+0x9f): In function `std::_Rb_tree<QString, std ::pair<QString const, Kleo::KeyResolver::ContactPreferences>, std::_Select1st<st d::pair<QString const, Kleo::KeyResolver::ContactPreferences> >, std::less<QStri ng>, std::allocator<std::pair<QString const, Kleo::KeyResolver::ContactPreferenc es> > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair <QString const, Kleo::KeyResolver::ContactPreferences> const&)': : 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/keyresolver.o(.gnu.linkonce.t._ZNSt8_Rb_treeI7QStringSt4pairIKS0_N4Kleo11K eyResolver18ContactPreferencesEESt10_Select1stIS6_ESt4lessIS0_ESaIS6_EE13insert_ uniqueERKS6_+0xa2): In function `std::_Rb_tree<QString, std::pair<QString const, Kleo::KeyResolver::ContactPreferences>, std::_Select1st<std::pair<QString const , Kleo::KeyResolver::ContactPreferences> >, std::less<QString>, std::allocator<s td::pair<QString const, Kleo::KeyResolver::ContactPreferences> > >::insert_uniqu e(std::pair<QString const, Kleo::KeyResolver::ContactPreferences> const&)': : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' .libs/keyresolver.o(.gnu.linkonce.t._ZNSt8_Rb_treeIN4Kleo19CryptoMessageFormatES t4pairIKS1_10FormatInfoESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE9_M_insertEPSt18_ Rb_tree_node_baseSD_RKS5_+0x194): In function `std::_Rb_tree<Kleo::CryptoMessage Format, std::pair<Kleo::CryptoMessageFormat const, FormatInfo>, std::_Select1st< std::pair<Kleo::CryptoMessageFormat const, FormatInfo> >, std::less<Kleo::Crypto MessageFormat>, std::allocator<std::pair<Kleo::CryptoMessageFormat const, Format Info> > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pa ir<Kleo::CryptoMessageFormat const, FormatInfo> const&)': : 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/keyresolver.o(.gnu.linkonce.t._ZNSt8_Rb_treeIN4Kleo19CryptoMessageFormatES t4pairIKS1_10FormatInfoESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE13insert_uniqueER KS5_+0x9b): In function `std::_Rb_tree<Kleo::CryptoMessageFormat, std::pair<Kleo ::CryptoMessageFormat const, FormatInfo>, std::_Select1st<std::pair<Kleo::Crypto MessageFormat const, FormatInfo> >, std::less<Kleo::CryptoMessageFormat>, std::a llocator<std::pair<Kleo::CryptoMessageFormat const, FormatInfo> > >::insert_uniq ue(std::pair<Kleo::CryptoMessageFormat const, FormatInfo> const&)': : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' .libs/keyresolver.o(.gnu.linkonce.t._ZNSt8_Rb_treeIN4Kleo19CryptoMessageFormatES t4pairIKS1_10FormatInfoESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE13insert_uniqueES t17_Rb_tree_iteratorIS5_ERKS5_+0x3a): In function `std::_Rb_tree<Kleo::CryptoMes sageFormat, std::pair<Kleo::CryptoMessageFormat const, FormatInfo>, std::_Select 1st<std::pair<Kleo::CryptoMessageFormat const, FormatInfo> >, std::less<Kleo::Cr yptoMessageFormat>, std::allocator<std::pair<Kleo::CryptoMessageFormat const, Fo rmatInfo> > >::insert_unique(std::_Rb_tree_iterator<std::pair<Kleo::CryptoMessag eFormat const, FormatInfo> >, std::pair<Kleo::CryptoMessageFormat const, FormatI nfo> const&)': : undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' collect2: ld returned 1 exit status make[3]: *** [libkmailprivate.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kmail-3.4.1-r1/work/kmail-3.4.1/kma il' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kmail-3.4.1-r1/work/kmail-3.4.1/kma il' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kmail-3.4.1-r1/work/kmail-3.4.1' make: *** [all] Error 2 !!! ERROR: kde-base/kmail-3.4.1-r1 failed. !!! Function kde_src_compile, Line 169, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. ----------------------------------------------------------------------------- emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.11-gentoo-r11 i686) ================================================================= System uname: 2.6.11-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 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.5 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=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer -msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt" 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/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -ftracer -msse -mfpmath=sse -funroll-loops -frerun-cse-after-loop -frerun-loop-opt" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/local /usr/local/portage/gentoo-de" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apm arts avi berkdb bitmap-fonts bzip2 bzlib cdr cdrom crypt cups curl dvd dvdread eds emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sdl spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xine xml2 xmms xscreensaver xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
A duplicate of bug 69475?
By the way, please try with basic CFLAGS and with CCACHE disabled before reporting bugs. *** This bug has been marked as a duplicate of 69475 ***