The compiler check in the ebuild verifies if GCC is >= 4.7, and tries to account for Clang, but there may be some syntax or logical error, because when trying to build with Clang, you get: * ERROR: app-office/libreoffice-5.2.3.3-r1::gentoo failed (pretend phase): * Too old gcc found. Here's the code snippet: if ! $(tc-is-clang) && [[ $(gcc-major-version) -lt 4 ]] || { [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]]; } then eerror "Compilation with gcc older than 4.7 is not supported" die "Too old gcc found." fi
*** This bug has been marked as a duplicate of bug 601504 ***