I had some troubles with setxkbmap and xorg 7.0-r1, when I used setxkbmap I had a segmentation fault. I've fix it by merging setxkbmap with CFLAGS="" and CXXFLAGS="". I use this : CFLAGS="-O3 -march=athlon64 -mtune=k8 -pipe" CXXFLAGS="${CFLAGS}" under a turion processor.
Reopen with emerge --info and
Are you saying it was broken with CFLAGS="-O3 -march=athlon64 -mtune=k8 -pipe"? If so, does changing -O3 to -O2 fix it? Please post `emerge info` output as well, and reopen when you reply.