Skip to content

Instantly share code, notes, and snippets.

@Havvy
Created December 12, 2017 04:20
Show Gist options
  • Save Havvy/6d9644c828c007e5a8bd4de457778a27 to your computer and use it in GitHub Desktop.
Save Havvy/6d9644c828c007e5a8bd4de457778a27 to your computer and use it in GitHub Desktop.
[havvy@rustc:~/workspace/rust/project]$ ./x.py test src/libstd --stage=1
Updating submodules
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /home/havvy/workspace/rust/project/src/tools/cargo/Cargo.toml
workspace: /home/havvy/workspace/rust/project/src/Cargo.toml
Finished dev [unoptimized] target(s) in 0.0 secs
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /home/havvy/workspace/rust/project/src/tools/cargo/Cargo.toml
workspace: /home/havvy/workspace/rust/project/src/Cargo.toml
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /home/havvy/workspace/rust/project/src/tools/cargo/Cargo.toml
workspace: /home/havvy/workspace/rust/project/src/Cargo.toml
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /home/havvy/workspace/rust/project/src/tools/cargo/Cargo.toml
workspace: /home/havvy/workspace/rust/project/src/Cargo.toml
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /home/havvy/workspace/rust/project/src/tools/cargo/Cargo.toml
workspace: /home/havvy/workspace/rust/project/src/Cargo.toml
Finished release [optimized] target(s) in 0.0 secs
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /home/havvy/workspace/rust/project/src/tools/cargo/Cargo.toml
workspace: /home/havvy/workspace/rust/project/src/Cargo.toml
Finished release [optimized] target(s) in 0.0 secs
Copying stage0 test from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building LLVM for x86_64-unknown-linux-gnu
running: "cmake" "/home/havvy/workspace/rust/project/src/llvm" "-DLLVM_ENABLE_ASSERTIONS=OFF" "-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend;MSP430;Sparc;NVPTX;Hexagon" "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly" "-DLLVM_INCLUDE_EXAMPLES=OFF" "-DLLVM_INCLUDE_TESTS=OFF" "-DLLVM_INCLUDE_DOCS=OFF" "-DLLVM_ENABLE_ZLIB=OFF" "-DWITH_POLLY=OFF" "-DLLVM_ENABLE_TERMINFO=OFF" "-DLLVM_ENABLE_LIBEDIT=OFF" "-DLLVM_PARALLEL_COMPILE_JOBS=1" "-DLLVM_TARGET_ARCH=x86_64" "-DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-linux-gnu" "-DLLVM_LINK_LLVM_DYLIB=ON" "-DCMAKE_C_COMPILER=gcc" "-DCMAKE_CXX_COMPILER=g++" "-DCMAKE_C_FLAGS=-ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_INSTALL_PREFIX=/home/havvy/workspace/rust/project/build/x86_64-unknown-linux-gnu/llvm" "-DCMAKE_BUILD_TYPE=Release"
-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.0
-- The ASM compiler identification is unknown
-- Found assembler: /nix/store/5sx2pmb2w3dyzpay0ib837hjiv0w7kqs-gcc-wrapper-6.4.0/bin/gcc
-- Check for working C compiler: /nix/store/wriy1xis74fybcg3m1jnq5bd5myxvhm6-gcc-wrapper-6.4.0/bin/gcc
CMake Error: Generator: execution of make failed. Make command was: "/nix/store/9vd9zwmwqc3qfddnkw18lhq7dg79dkz6-gnumake-4.2.1/bin/make" "cmTC_64446/fast"
-- Check for working C compiler: /nix/store/wriy1xis74fybcg3m1jnq5bd5myxvhm6-gcc-wrapper-6.4.0/bin/gcc -- broken
CMake Error at /nix/store/k1f35v8nq3gqbxappmshm4h8lvbynqdn-cmake-3.9.6/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler
"/nix/store/wriy1xis74fybcg3m1jnq5bd5myxvhm6-gcc-wrapper-6.4.0/bin/gcc" is
not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/havvy/workspace/rust/project/build/x86_64-unknown-linux-gnu/llvm/build/CMakeFiles/CMakeTmp
Run Build
Command:"/nix/store/9vd9zwmwqc3qfddnkw18lhq7dg79dkz6-gnumake-4.2.1/bin/make"
"cmTC_64446/fast"
Generator: execution of make failed. Make command was:
"/nix/store/9vd9zwmwqc3qfddnkw18lhq7dg79dkz6-gnumake-4.2.1/bin/make"
"cmTC_64446/fast"
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:47 (project)
CMake Error at CMakeLists.txt:47 (project):
The CMAKE_ASM_COMPILER:
/nix/store/5sx2pmb2w3dyzpay0ib837hjiv0w7kqs-gcc-wrapper-6.4.0/bin/gcc
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/home/havvy/workspace/rust/project/build/x86_64-unknown-linux-gnu/llvm/build/CMakeFiles/CMakeOutput.log".
See also "/home/havvy/workspace/rust/project/build/x86_64-unknown-linux-gnu/llvm/build/CMakeFiles/CMakeError.log".
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1
build script failed, must exit now', /home/havvy/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.28/src/lib.rs:631:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.
finished in 0.668
failed to run: /home/havvy/workspace/rust/project/build/bootstrap/debug/bootstrap test src/libstd --stage=1
Build completed unsuccessfully in 0:00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment