Skip to content
This repository was archived by the owner on Aug 30, 2020. It is now read-only.
This repository was archived by the owner on Aug 30, 2020. It is now read-only.

"YCM-Generator/fake-toolchain/Unix/clang" is not able to compile a simple test program #19

@andrewrk

Description

@andrewrk
[nix-shell:~/dev/genesis]$ ~/Downloads/YCM-Generator/config_gen.py . --verbose
Running cmake in '/run/user/1000/tmpVUUWXy'...
$ cmake /home/andy/dev/genesis
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /home/andy/Downloads/YCM-Generator/fake-toolchain/Unix/clang
-- Check for working C compiler: /home/andy/Downloads/YCM-Generator/fake-toolchain/Unix/clang -- broken
CMake Error at /nix/store/l2w8cfzgh72ggz00afgig2scywz0snk0-cmake-3.2.2/share/cmake-3.2/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler
  "/home/andy/Downloads/YCM-Generator/fake-toolchain/Unix/clang" is not able
  to compile a simple test program.

  It fails with the following output:

   Change Dir: /run/user/1000/tmpVUUWXy/CMakeFiles/CMakeTmp



  Run Build
  Command:"/nix/store/hv8pgyn6a0a5h9dyd7s7cwh5105gykj5-gnumake-4.1/bin/make"
  "cmTryCompileExec2779557708/fast"

  /nix/store/hv8pgyn6a0a5h9dyd7s7cwh5105gykj5-gnumake-4.1/bin/make -f
  CMakeFiles/cmTryCompileExec2779557708.dir/build.make
  CMakeFiles/cmTryCompileExec2779557708.dir/build

  make[1]: Entering directory '/run/user/1000/tmpVUUWXy/CMakeFiles/CMakeTmp'

  /nix/store/l2w8cfzgh72ggz00afgig2scywz0snk0-cmake-3.2.2/bin/cmake -E
  cmake_progress_report
  /run/user/1000/tmpVUUWXy/CMakeFiles/CMakeTmp/CMakeFiles 1

  Building C object
  CMakeFiles/cmTryCompileExec2779557708.dir/testCCompiler.c.o

  /home/andy/Downloads/YCM-Generator/fake-toolchain/Unix/clang -o
  CMakeFiles/cmTryCompileExec2779557708.dir/testCCompiler.c.o -c
  /run/user/1000/tmpVUUWXy/CMakeFiles/CMakeTmp/testCCompiler.c

  make[1]: /home/andy/Downloads/YCM-Generator/fake-toolchain/Unix/clang:
  Command not found

  CMakeFiles/cmTryCompileExec2779557708.dir/build.make:57: recipe for target
  'CMakeFiles/cmTryCompileExec2779557708.dir/testCCompiler.c.o' failed

  make[1]: *** [CMakeFiles/cmTryCompileExec2779557708.dir/testCCompiler.c.o]
  Error 127

  make[1]: Leaving directory '/run/user/1000/tmpVUUWXy/CMakeFiles/CMakeTmp'

  Makefile:117: recipe for target 'cmTryCompileExec2779557708/fast' failed

  make: *** [cmTryCompileExec2779557708/fast] Error 2





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:11 (project)


-- Configuring incomplete, errors occurred!
See also "/run/user/1000/tmpVUUWXy/CMakeFiles/CMakeOutput.log".
See also "/run/user/1000/tmpVUUWXy/CMakeFiles/CMakeError.log".

Running make...
$ make -i -j8
make: *** No targets specified and no makefile found.  Stop.

Cleaning up...

Build completed in 0.29 sec

Collected 0 relevant entries for C compilation (0 discarded).
Collected 0 relevant entries for C++ compilation (0 discarded).
()
ERROR: No commands were logged to the build logs (C: /run/user/1000/tmpv8jjBA, C++: /run/user/1000/tmpbvAir8).
Your build system may not be compatible.

[nix-shell:~/dev/genesis]$ clang --version
clang version 3.6.1 (tags/RELEASE_361/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions