Created attachment 457502 [details] build log looks like for some reason libomp uses $CC with C++ code. this breaks when you use C-specific flags in CFLAGS as the build gets confused by all the warnings. simple way to reproduce: CFLAGS='-O2 -pipe -Wimplicit-function-declaration' emerge libomp
*** This bug has been marked as a duplicate of bug 598446 ***