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
# After installing the conda activate
cmake .. -C ../cmake/caches/cn/fast/mlir-cuda-75.cmake
The output:
loading initial cache file ../cmake/caches/cn/fast/mlir-cuda-75.cmake
-- CMAKE_BUILD_TYPE: RelWithDebInfo
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /home/guikarist/.miniconda3/envs/oneflow-dev-gcc7-v2/bin/x86_64-conda_cos6-linux-gnu-cc
-- Check for working C compiler: /home/guikarist/.miniconda3/envs/oneflow-dev-gcc7-v2/bin/x86_64-conda_cos6-linux-gnu-cc - broken
CMake Error at /home/guikarist/.miniconda3/envs/oneflow-dev-gcc7-v2/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler
"/home/guikarist/.miniconda3/envs/oneflow-dev-gcc7-v2/bin/x86_64-conda_cos6-linux-gnu-cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/guikarist/projects/oneflow/build/CMakeFiles/CMakeTmp
Run Build Command(s):/home/guikarist/.miniconda3/envs/oneflow-dev-gcc7-v2/bin/ninja cmTC_fa944 && [1/2] Building C object CMakeFiles/cmTC_fa944.dir/testCCompiler.c.o
[2/2] Linking C executable cmTC_fa944
FAILED: cmTC_fa944
: && /home/guikarist/.miniconda3/envs/oneflow-dev-gcc7-v2/bin/x86_64-conda_cos6-linux-gnu-cc -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/guikarist/.miniconda3/envs/oneflow-dev-gcc7-v2/include -fuse-ld=lld -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/guikarist/.miniconda3/envs/oneflow-dev-gcc7-v2/lib -Wl,-rpath-link,/home/guikarist/.miniconda3/envs/oneflow-dev-gcc7-v2/lib -L/home/guikarist/.miniconda3/envs/oneflow-dev-gcc7-v2/lib CMakeFiles/cmTC_fa944.dir/testCCompiler.c.o -o cmTC_fa944 && :
x86_64-conda_cos6-linux-gnu-cc: error: unrecognized command line option '-fuse-ld=lld'; did you mean '-fuse-ld=bfd'?
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:62 (project)
-- Configuring incomplete, errors occurred!
See also "/home/guikarist/projects/oneflow/build/CMakeFiles/CMakeOutput.log".
See also "/home/guikarist/projects/oneflow/build/CMakeFiles/CMakeError.log".
Maybe we should specify a newer version for installing gcc.
The text was updated successfully, but these errors were encountered:
Current GCC version:
7.3.0
The command to reproduce:
# After installing the conda activate cmake .. -C ../cmake/caches/cn/fast/mlir-cuda-75.cmake
The output:
Maybe we should specify a newer version for installing gcc.
The text was updated successfully, but these errors were encountered: