Skip to content

Instantly share code, notes, and snippets.

@yadudoc
Created February 2, 2023 04:24
Show Gist options
  • Save yadudoc/6c95964ce0d44565ba466d30a10f20c4 to your computer and use it in GitHub Desktop.
Save yadudoc/6c95964ce0d44565ba466d30a10f20c4 to your computer and use it in GitHub Desktop.
Paste of logs from Simgrid install failure
(wrench) /tmp/simgrid:>cmake -DCMAKE_INSTALL_PREFIX=/opt/simgrid .
-- Configuring SimGrid v3.32.1
-- Cmake version 3.22.1
-- The C compiler identification is Clang 14.0.6
-- The CXX compiler identification is Clang 14.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /Users/yadu/opt/anaconda3/envs/wrench/bin/x86_64-apple-darwin13.4.0-clang
-- Check for working C compiler: /Users/yadu/opt/anaconda3/envs/wrench/bin/x86_64-apple-darwin13.4.0-clang - broken
CMake Error at /Users/yadu/opt/anaconda3/envs/wrench/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
"/Users/yadu/opt/anaconda3/envs/wrench/bin/x86_64-apple-darwin13.4.0-clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /tmp/simgrid/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_21e6a/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_21e6a.dir/build.make CMakeFiles/cmTC_21e6a.dir/build
Building C object CMakeFiles/cmTC_21e6a.dir/testCCompiler.c.o
/Users/yadu/opt/anaconda3/envs/wrench/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/yadu/opt/anaconda3/include -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -MD -MT CMakeFiles/cmTC_21e6a.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_21e6a.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_21e6a.dir/testCCompiler.c.o -c /tmp/simgrid/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_21e6a
/Users/yadu/opt/anaconda3/envs/wrench/bin/cmake -E cmake_link_script CMakeFiles/cmTC_21e6a.dir/link.txt --verbose=1
/Users/yadu/opt/anaconda3/envs/wrench/bin/x86_64-apple-darwin13.4.0-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/yadu/opt/anaconda3/include -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/yadu/opt/anaconda3/lib -L/Users/yadu/opt/anaconda3/lib CMakeFiles/cmTC_21e6a.dir/testCCompiler.c.o -o cmTC_21e6a
ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cmTC_21e6a] Error 1
make: *** [cmTC_21e6a/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:33 (project)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment