the problem is not in evolution but in pilot-link test during configure, which fails with as needed flag. checking for pthread_create in -lpthread... yes checking for regexec... yes checking for GTKHTML... yes checking for GNOME_PILOT... yes checking if pilot-link handles UTF-8 conversions... no configure: error: evolution requires pilot-link to have working UTF-8 conversion routines !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/evolution-2.6.0-r1/work/evolution-2.6.0/config.log !!! ERROR: mail-client/evolution-2.6.0-r1 failed. Call stack: ebuild.sh, line 1532: Called dyn_compile ebuild.sh, line 929: Called src_compile evolution-2.6.0-r1.ebuild, line 186: Called gnome2_src_compile gnome2.eclass, line 54: Called gnome2_src_configure gnome2.eclass, line 50: Called econf '--disable-default-binary' '--without-kde-applnk-path' '--enable-nss' '--enable-smime' '--disable-ipv6' '--enable-mono' '--enable-nntp' '--enable-pilot-conduits' '--disable-profiling' '--with-openldap' '--with-krb5=/usr' '--without-krb4' '--enable-plugins=calendar-file,calendar-http,calendar-weather,itip-formatter,plugin-manager,default-source,addressbook-file,startup-wizard,print-message,mark-all-read,groupwise-features,groupwise-account-setup,mail-account-disable,bbdb,subject-thread,save-calendar,select-one-source,copy-tool,mail-to-task,mark-calendar-offline,mailing-list-actions,default-mailer,sa-junk-plugin,new-mail-notify,mono,exchange-operations' '--with-nspr-includes=/usr/include/nspr' '--with-nspr-libs=/usr/lib/nspr' '--with-nss-includes=/usr/include/nss' '--with-nss-libs=/usr/lib/nss' '--disable-gtk-doc' ebuild.sh, line 527: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant.
No filtering should be involved unless the linker segfaults, and even then, it should be conditional on a working version of the linker (2.16.92 usually).
What is --as-needed?, and why have you not attached your config.log as it says in the error message?
*** Bug 153041 has been marked as a duplicate of this bug. ***
ok i posted the duplicate of this bug... http://bugs.gentoo.org/show_bug.cgi?id=153041 ....but apparently i failed to do a little more checking... now i am not pretending to understand what all is happening here so keep that in mind.... but compiling pilot-link WITH the ldflag --as-needed then REMOVING the flag and compiling evolution... the evolution script sees pilot-link as being able to convert utf8 and compiles normally. so from my limited know how evolution is where the break occurs.
there is a fix in bug #154453, it has also been reported upstream, please test it.
*** This bug has been marked as a duplicate of bug 154453 ***