I'm having some problem with kwin 4.0.3 (see a separate bug report at kde: https://bugs.kde.org/show_bug.cgi?id=159280) and found out that I can't compile kwin with debugging information. Please add the 'debug' flag to the ebuild.