Skip to content

@2bits /config.log
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
clang-svn compile failure when --coverage
-- The C compiler identification is Clang
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/local/bin/clang
-- Check for working C compiler: /usr/local/bin/clang -- broken
CMake Error at /usr/local/Cellar/cmake/2.8.7/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "/usr/local/bin/clang" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: /Users/nibbles/Temp/dlrdave-SmallAndFast-68c3ceb/build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
/usr/local/Cellar/cmake/2.8.7/bin/cmake -E cmake_progress_report
/Users/nibbles/Temp/dlrdave-SmallAndFast-68c3ceb/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
/usr/local/bin/clang -O0 --coverage -o
CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c
/Users/nibbles/Temp/dlrdave-SmallAndFast-68c3ceb/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec
/usr/local/Cellar/cmake/2.8.7/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/local/bin/clang -O0 --coverage -Wl,-search_paths_first
-Wl,-headerpad_max_install_names
CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec
Undefined symbols for architecture x86_64:
"_llvm_gcda_start_file", referenced from:
___llvm_gcov_writeout in testCCompiler.c.o
"_llvm_gcda_emit_function", referenced from:
___llvm_gcov_writeout in testCCompiler.c.o
"_llvm_gcda_emit_arcs", referenced from:
___llvm_gcov_writeout in testCCompiler.c.o
"_llvm_gcda_end_file", referenced from:
___llvm_gcov_writeout in testCCompiler.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[1]: *** [cmTryCompileExec] Error 1
make: *** [cmTryCompileExec/fast] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.