Open laoyaoshine opened 5 years ago
error: failed to run custom build command for miner v0.18.0 (/home/log/ckb-cuckoo-miner/miner) process didn't exit successfully: /home/log/ckb-cuckoo-miner/target/release/build/miner-20e4044eaa111bf7/build-script-build (exit code: 1) --- stdout TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("3") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = None CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-static" "-I" "src/worker/include" "-Wall" "-Wextra" "-O3" "-msse4" "-o" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/blake2b.o" "-c" "src/worker/include/blake2b.c" exit code: 0 AR_x86_64-unknown-linux-gnu = None AR_x86_64_unknown_linux_gnu = None HOST_AR = None AR = None running: "ar" "crs" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/libblake2b.a" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/blake2b.o" exit code: 0 cargo:rustc-link-lib=static=blake2b cargo:rustc-link-search=native=/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("3") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = None CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-static" "-I" "src/worker/include" "-Wall" "-Wextra" "-O3" "-lcrypto" "-mavx512f" "-mavx512cd" "-msse4" "-o" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo-avx512.o" "-c" "src/worker/include/cuckoo-avx512.c" exit code: 0 AR_x86_64-unknown-linux-gnu = None AR_x86_64_unknown_linux_gnu = None HOST_AR = None AR = None running: "ar" "crs" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/liblibcuckoo.a.1.a" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo-avx512.o" exit code: 0 cargo:rustc-link-lib=static=libcuckoo.a.1 cargo:rustc-link-search=native=/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("3") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = None CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-static" "-I" "src/worker/include" "-Wall" "-Wextra" "-O3" "-lcrypto" "-mavx2" "-msse4" "-o" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo.o" "-c" "src/worker/include/cuckoo.c" exit code: 0 AR_x86_64-unknown-linux-gnu = None AR_x86_64_unknown_linux_gnu = None HOST_AR = None AR = None running: "ar" "crs" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/liblibcuckoo.a.2.a" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo.o" exit code: 0 cargo:rustc-link-lib=static=libcuckoo.a.2 cargo:rustc-link-search=native=/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("3") HOST = Some("x86_64-unknown-linux-gnu") CXX_x86_64-unknown-linux-gnu = None CXX_x86_64_unknown_linux_gnu = None HOST_CXX = None CXX = None NVCC_x86_64-unknown-linux-gnu = None NVCC_x86_64_unknown_linux_gnu = None HOST_NVCC = None NVCC = None CXXFLAGS_x86_64-unknown-linux-gnu = None CXXFLAGS_x86_64_unknown_linux_gnu = None HOST_CXXFLAGS = None CXXFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") running: "nvcc" "-ccbin=c++" "-Xcompiler" "-O3" "-Xcompiler" "-ffunction-sections" "-Xcompiler" "-fdata-sections" "-Xcompiler" "-fPIC" "-m64" "-I" "src/worker/include" "-Xcompiler" "-Wall" "-Xcompiler" "-Wextra" "-O3" "-lcrypto" "-o" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo.o" "-c" "src/worker/include/cuckoo.cu" cargo:warning=In file included from /usr/include/host_config.h:50:0, cargo:warning= from /usr/include/cuda_runtime.h:78, cargo:warning= from :0: cargo:warning=/usr/include/crt/host_config.h:121:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported! cargo:warning= #error -- unsupported GNU version! gcc versions later than 6 are not supported! cargo:warning= ^~~~~ exit code: 1
miner v0.18.0 (/home/log/ckb-cuckoo-miner/miner)
/home/log/ckb-cuckoo-miner/target/release/build/miner-20e4044eaa111bf7/build-script-build
--- stderr
error occurred: Command "nvcc" "-ccbin=c++" "-Xcompiler" "-O3" "-Xcompiler" "-ffunction-sections" "-Xcompiler" "-fdata-sections" "-Xcompiler" "-fPIC" "-m64" "-I" "src/worker/include" "-Xcompiler" "-Wall" "-Xcompiler" "-Wextra" "-O3" "-lcrypto" "-o" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo.o" "-c" "src/worker/include/cuckoo.cu" with args "nvcc" did not execute successfully (status code exit code: 1).
warning: build failed, waiting for other jobs to finish... error: build failed
You should upgrade your CUDA.
error: failed to run custom build command for:0:
cargo:warning=/usr/include/crt/host_config.h:121:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
cargo:warning= #error -- unsupported GNU version! gcc versions later than 6 are not supported!
cargo:warning= ^~~~~
exit code: 1
miner v0.18.0 (/home/log/ckb-cuckoo-miner/miner)
process didn't exit successfully:/home/log/ckb-cuckoo-miner/target/release/build/miner-20e4044eaa111bf7/build-script-build
(exit code: 1) --- stdout TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("3") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = None CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-static" "-I" "src/worker/include" "-Wall" "-Wextra" "-O3" "-msse4" "-o" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/blake2b.o" "-c" "src/worker/include/blake2b.c" exit code: 0 AR_x86_64-unknown-linux-gnu = None AR_x86_64_unknown_linux_gnu = None HOST_AR = None AR = None running: "ar" "crs" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/libblake2b.a" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/blake2b.o" exit code: 0 cargo:rustc-link-lib=static=blake2b cargo:rustc-link-search=native=/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("3") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = None CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-static" "-I" "src/worker/include" "-Wall" "-Wextra" "-O3" "-lcrypto" "-mavx512f" "-mavx512cd" "-msse4" "-o" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo-avx512.o" "-c" "src/worker/include/cuckoo-avx512.c" exit code: 0 AR_x86_64-unknown-linux-gnu = None AR_x86_64_unknown_linux_gnu = None HOST_AR = None AR = None running: "ar" "crs" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/liblibcuckoo.a.1.a" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo-avx512.o" exit code: 0 cargo:rustc-link-lib=static=libcuckoo.a.1 cargo:rustc-link-search=native=/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("3") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = None CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-static" "-I" "src/worker/include" "-Wall" "-Wextra" "-O3" "-lcrypto" "-mavx2" "-msse4" "-o" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo.o" "-c" "src/worker/include/cuckoo.c" exit code: 0 AR_x86_64-unknown-linux-gnu = None AR_x86_64_unknown_linux_gnu = None HOST_AR = None AR = None running: "ar" "crs" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/liblibcuckoo.a.2.a" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo.o" exit code: 0 cargo:rustc-link-lib=static=libcuckoo.a.2 cargo:rustc-link-search=native=/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("3") HOST = Some("x86_64-unknown-linux-gnu") CXX_x86_64-unknown-linux-gnu = None CXX_x86_64_unknown_linux_gnu = None HOST_CXX = None CXX = None NVCC_x86_64-unknown-linux-gnu = None NVCC_x86_64_unknown_linux_gnu = None HOST_NVCC = None NVCC = None CXXFLAGS_x86_64-unknown-linux-gnu = None CXXFLAGS_x86_64_unknown_linux_gnu = None HOST_CXXFLAGS = None CXXFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") running: "nvcc" "-ccbin=c++" "-Xcompiler" "-O3" "-Xcompiler" "-ffunction-sections" "-Xcompiler" "-fdata-sections" "-Xcompiler" "-fPIC" "-m64" "-I" "src/worker/include" "-Xcompiler" "-Wall" "-Xcompiler" "-Wextra" "-O3" "-lcrypto" "-o" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo.o" "-c" "src/worker/include/cuckoo.cu" cargo:warning=In file included from /usr/include/host_config.h:50:0, cargo:warning= from /usr/include/cuda_runtime.h:78, cargo:warning= from--- stderr
error occurred: Command "nvcc" "-ccbin=c++" "-Xcompiler" "-O3" "-Xcompiler" "-ffunction-sections" "-Xcompiler" "-fdata-sections" "-Xcompiler" "-fPIC" "-m64" "-I" "src/worker/include" "-Xcompiler" "-Wall" "-Xcompiler" "-Wextra" "-O3" "-lcrypto" "-o" "/home/log/ckb-cuckoo-miner/target/release/build/miner-2c9ee07b8cd473a7/out/src/worker/include/cuckoo.o" "-c" "src/worker/include/cuckoo.cu" with args "nvcc" did not execute successfully (status code exit code: 1).
warning: build failed, waiting for other jobs to finish... error: build failed