Traditionally KDE and related packages have been very Clang friendly, and I have built them with Clang for quite a while. However, a recent change in kde-misc/kdiff3 and kde-misc/krename for example checks for GCC greater than 4.6. This is ok, if we intend to build with gcc, but it shouldn't break the build if we intend to build with Clang. With all the recent excellent work to make Clang work as a system compiler, this seems like a regression.
The problem is in /usr/portage/eclass/kde4-base.eclass:622.
Thanks, fixed in git. I started a tracker bug for this because there are now potentially hundreds of packages broken for clang across the tree. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0788b3785c3ed148a430329152b18073c6d1f23f https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fadcfcff3caa95536fa1942806607881a35f205