Hi! Since a time I had sporadic mysterious link errors in gtest. Now I found the solution: llvm provides its own modified version of gtest but generates lib files of the original names. Therefore please rename the modified gtest libs for example to llvmgtest (libllvmgtest.a and libllvmgtest_main.a) Thanks, -Jochen