Created attachment 318726 [details] emerge fail log =sys-apps/grep-2.13 fails tests with clang-3.1-r4, latest stable (2.5.4-r1) passes tests, I didn't test intermediate versions.
Sorry, latest stable FAILS as well, my fault.
Tests pass with GCC 4.6.3 for all versions, except for 2.12 and 2.13 which fail also with GCC (might not be a clang-related issue).
this is actually related to portages sandbox I believe (symlink test failure), test should pass with FEATURES="-sandbox -usersandbox -userpriv". I took liberty to rename bug and changed asignee to vapier.
There is nothing for Clang maintainers to do here, so I am removing myself and mgorny from CC.
*** This bug has been marked as a duplicate of bug 413441 ***