I do not have the actual error message, but MySQL would not compile when I tried emerge it. (new to gentoo, forgive me if I used incorrect wording).
Duplicate to Bug #4432
*** This bug has been marked as a duplicate of 4432 ***