Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MagnificentPako/3e52d1fde42130ad4e3058f3d37fef18 to your computer and use it in GitHub Desktop.
Save MagnificentPako/3e52d1fde42130ad4e3058f3d37fef18 to your computer and use it in GitHub Desktop.
The C++ compiler
"/nix/store/id8q2bia04mm6zfcchdf0vzhz5razssy-clang-wrapper-5.0.1/bin/clang++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /tmp/nix-build-emojicode-0.6.drv-7/source/build/CMakeFiles/CMakeTmp
Run Build Command:"/nix/store/lhp5rw0dagi5mgqwr9i3x41240ba4ypz-gnumake-4.2.1/bin/make" "cmTC_c16cf/fast"
/nix/store/lhp5rw0dagi5mgqwr9i3x41240ba4ypz-gnumake-4.2.1/bin/make -f CMakeFiles/cmTC_c16cf.dir/build.make CMakeFiles/cmTC_c16cf.dir/build
make[1]: Entering directory '/tmp/nix-build-emojicode-0.6.drv-7/source/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c16cf.dir/testCXXCompiler.cxx.o
/nix/store/id8q2bia04mm6zfcchdf0vzhz5razssy-clang-wrapper-5.0.1/bin/clang++ -o CMakeFiles/cmTC_c16cf.dir/testCXXCompiler.cxx.o -c /tmp/nix-build-emojicode-0.6.drv-7/source/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
clang-5.0: warning: /nix/store/bm7pb1s7rx1ad80706b5xqrznq7fgpgx-gcc-7.3.0/include/c++/7.3.0: 'linker' input unused [-Wunused-command-line-argument]
Linking CXX executable cmTC_c16cf
/nix/store/g8qsakas5q6952mk4ynxk8v0cd47y9xg-cmake-3.10.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c16cf.dir/link.txt --verbose=1
/nix/store/id8q2bia04mm6zfcchdf0vzhz5razssy-clang-wrapper-5.0.1/bin/clang++ -rdynamic CMakeFiles/cmTC_c16cf.dir/testCXXCompiler.cxx.o -o cmTC_c16cf
/nix/store/bm7pb1s7rx1ad80706b5xqrznq7fgpgx-gcc-7.3.0/include/c++/7.3.0: file not recognized: Is a directory
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_c16cf.dir/build.make:98: cmTC_c16cf] Error 1
make[1]: Leaving directory '/tmp/nix-build-emojicode-0.6.drv-7/source/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_c16cf/fast] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment