Was doing usual bump work for https://bugs.gentoo.org/show_bug.cgi?id=300040 when I got this. If you need anything, just ask.
gcc is 4.2.2, boost is 1.41.
First, posting the log would be helpful. I don't have the same compiler and whatnot here. (gcc 4.4 on Fedora 12)
Works here with 2.2.
Re-open with complete log if you still have issues.