You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Check for working C compiler: /Users/quansight/miniconda3/envs/omniscidb-cpu-dev2/bin/clang -- broken
CMake Error at /Users/quansight/miniconda3/envs/omniscidb-cpu-dev2/share/cmake-3.15/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"/Users/quansight/miniconda3/envs/omniscidb-cpu-dev2/bin/clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/quansight/pearu/git/omniscidb/omniscidb-internal/build/CMakeFiles/CMakeTmp
Run Build Command(s):/Users/quansight/miniconda3/envs/omniscidb-cpu-dev2/bin/make cmTC_61f65/fast && /Users/quansight/miniconda3/envs/omniscidb-cpu-dev2/bin/make -f CMakeFiles/cmTC_61f65.dir/build.make CMakeFiles/cmTC_61f65.dir/build
make[1]: Entering directory '/Users/quansight/pearu/git/omniscidb/omniscidb-internal/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_61f65.dir/testCCompiler.c.o
/Users/quansight/miniconda3/envs/omniscidb-cpu-dev2/bin/clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.12 -o CMakeFiles/cmTC_61f65.dir/testCCompiler.c.o -c /Users/quansight/pearu/git/omniscidb/omniscidb-internal/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_61f65
/Users/quansight/miniconda3/envs/omniscidb-cpu-dev2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_61f65.dir/link.txt --verbose=1
/Users/quansight/miniconda3/envs/omniscidb-cpu-dev2/bin/clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.12 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/Users/quansight/miniconda3/envs/omniscidb-cpu-dev2/lib -Wl,-rpath,/Users/quansight/miniconda3/envs/omniscidb-cpu-dev2/lib CMakeFiles/cmTC_61f65.dir/testCCompiler.c.o -o cmTC_61f65
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
ld: dynamic main executables must link with libSystem.dylib for architecture x86_64
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_61f65.dir/build.make:87: cmTC_61f65] Error 1
make[1]: Leaving directory '/Users/quansight/pearu/git/omniscidb/omniscidb-internal/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_61f65/fast] Error 2
Note that conda activate ... sets CONDA_BUILD_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk.
If you are using different SDK then the solution is:
When running cmake:
Note that
conda activate ...
setsCONDA_BUILD_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
.If you are using different SDK then the solution is:
for instance (make sure you adjust the SDK path to your case).
The text was updated successfully, but these errors were encountered: