Skip to content

nvcc fatal : Unsupported gpu architecture 'compute_89' #13

Description

@koboshchan
   Compiling fd_bs58 v0.1.0
warning: vanity@0.4.0: Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-E" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\6123629083098385185detect_compiler_family.c"
warning: vanity@0.4.0: Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-E" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\5335537772361023217detect_compiler_family.c"
warning: vanity@0.4.0: Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-E" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\15447704080405464527detect_compiler_family.c"
warning: vanity@0.4.0: Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-E" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\9521414419978384707detect_compiler_family.c"
warning: vanity@0.4.0: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-ccbin=C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-Xcompiler" "-nologo" "-Xcompiler" "-MD" "-Xcompiler" "-O2" "-Xcompiler" "-Brepro" "-Xcompiler" "-W4" "-cudart=static" "-gencode=arch=compute_89,code=sm_89" "-gencode=arch=compute_89,code=compute_89" "-o" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\bded407966a33549-utils.o" "-c" "--device-c" "kernels/utils.cu"
warning: vanity@0.4.0: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-ccbin=C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-Xcompiler" "-nologo" "-Xcompiler" "-MD" "-Xcompiler" "-O2" "-Xcompiler" "-Brepro" "-Xcompiler" "-W4" "-cudart=static" "-gencode=arch=compute_89,code=sm_89" "-gencode=arch=compute_89,code=compute_89" "-o" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\bded407966a33549-vanity.o" "-c" "--device-c" "kernels/vanity.cu"
warning: vanity@0.4.0: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-ccbin=C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-Xcompiler" "-nologo" "-Xcompiler" "-MD" "-Xcompiler" "-O2" "-Xcompiler" "-Brepro" "-Xcompiler" "-W4" "-cudart=static" "-gencode=arch=compute_89,code=sm_89" "-gencode=arch=compute_89,code=compute_89" "-o" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\bded407966a33549-base58.o" "-c" "--device-c" "kernels/base58.cu"
warning: vanity@0.4.0: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-ccbin=C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-Xcompiler" "-nologo" "-Xcompiler" "-MD" "-Xcompiler" "-O2" "-Xcompiler" "-Brepro" "-Xcompiler" "-W4" "-cudart=static" "-gencode=arch=compute_89,code=sm_89" "-gencode=arch=compute_89,code=compute_89" "-o" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\bded407966a33549-sha256.o" "-c" "--device-c" "kernels/sha256.cu"
error: failed to run custom build command for `vanity v0.4.0`

Caused by:
  process didn't exit successfully: `C:\Users\lucas\AppData\Local\Temp\cargo-installR0J5S9\release\build\vanity-fce09bb383ec3864\build-script-build` (exit code: 1)
  --- stdout
  cargo::rerun-if-changed=kernels/
  OUT_DIR = Some(C:\Users\lucas\AppData\Local\Temp\cargo-installR0J5S9\release\build\vanity-9833fe26a964f934\out)
  OPT_LEVEL = Some(3)
  TARGET = Some(x86_64-pc-windows-msvc)
  cargo:rerun-if-env-changed=VCINSTALLDIR
  VCINSTALLDIR = None
  cargo:rerun-if-env-changed=VSTEL_MSBuildProjectFullPath
  VSTEL_MSBuildProjectFullPath = None
  cargo:rerun-if-env-changed=VSCMD_ARG_VCVARS_SPECTRE
  VSCMD_ARG_VCVARS_SPECTRE = None
  cargo:rerun-if-env-changed=WindowsSdkDir
  WindowsSdkDir = None
  cargo:rerun-if-env-changed=WindowsSDKVersion
  WindowsSDKVersion = None
  cargo:rerun-if-env-changed=LIB
  LIB = None
  PATH = Some(C:\Users\lucas\AppData\Local\Temp\cargo-installR0J5S9\release\deps;C:\Users\lucas\AppData\Local\Temp\cargo-installR0J5S9\release;C:\Users\lucas\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib;C:\Users\lucas\miniconda3;C:\Users\lucas\miniconda3\Library\mingw-w64\bin;C:\Users\lucas\miniconda3\Library\usr\bin;C:\Users\lucas\miniconda3\Library\bin;C:\Users\lucas\miniconda3\Scripts;C:\Users\lucas\miniconda3\bin;C:\Users\lucas\miniconda3\condabin;C:\Program Files\FireDaemon OpenSSL 3\bin;C:\Program Files (x86)\VMware\VMware Workstation\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\libnvvp;C:\Program Files\BellSoft\LibericaJDK-21\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\libnvvp;C:\Program Files\OpenLogic\jdk-8.0.402.06-hotspot\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\nodejs;C:\Program Files\NASM;C:\MinGW\bin;C:\Program Files\Graphviz\bin;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.1;C:\Program Files\Go\bin;C:\Users\lucas\.cargo\bin;C:\Users\lucas\.local\share\solana\install\active_release\bin;C:\Users\lucas\miniconda3;C:\Users\lucas\miniconda3\Library\mingw-w64\bin;C:\Users\lucas\miniconda3\Library\usr\bin;C:\Users\lucas\miniconda3\Library\bin;C:\Users\lucas\miniconda3\Scripts;C:\Users\lucas\AppData\Local\Programs\Python\Python312\Scripts;C:\Users\lucas\AppData\Local\Programs\Python\Python312;C:\Users\lucas\AppData\Local\Programs\Python\Launcher;C:\Users\lucas\AppData\Local\Microsoft\WindowsApps;C:\Users\lucas\AppData\Roaming\npm;C:\Program Files\NASM;C:\MinGW\bin;C:\Users\lucas\go\bin;C:\Users\lucas\AppData\Local\Programs\Microsoft VS Code\bin)
  cargo:rerun-if-env-changed=INCLUDE
  INCLUDE = None
  HOST = Some(x86_64-pc-windows-msvc)
  cargo:rerun-if-env-changed=CXX_x86_64-pc-windows-msvc
  CXX_x86_64-pc-windows-msvc = None
  cargo:rerun-if-env-changed=CXX_x86_64_pc_windows_msvc
  CXX_x86_64_pc_windows_msvc = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = None
  cargo:rerun-if-env-changed=NVCC_x86_64-pc-windows-msvc
  NVCC_x86_64-pc-windows-msvc = None
  cargo:rerun-if-env-changed=NVCC_x86_64_pc_windows_msvc
  NVCC_x86_64_pc_windows_msvc = None
  cargo:rerun-if-env-changed=HOST_NVCC
  HOST_NVCC = None
  cargo:rerun-if-env-changed=NVCC
  NVCC = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:warning=Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-E" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\6123629083098385185detect_compiler_family.c"
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,sse,sse2,sse3)
  DEBUG = Some(false)
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_pc_windows_msvc
  CXXFLAGS_x86_64_pc_windows_msvc = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-pc-windows-msvc
  CXXFLAGS_x86_64-pc-windows-msvc = None
  CARGO_ENCODED_RUSTFLAGS = Some()
  nvcc fatal   : Unsupported gpu architecture 'compute_89'
  cargo:warning=Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-E" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\5335537772361023217detect_compiler_family.c"
  nvcc fatal   : Unsupported gpu architecture 'compute_89'
  cargo:warning=Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-E" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\15447704080405464527detect_compiler_family.c"
  nvcc fatal   : Unsupported gpu architecture 'compute_89'
  cargo:warning=Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-E" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\9521414419978384707detect_compiler_family.c"
  exit code: 1
  cargo:warning=ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-ccbin=C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-Xcompiler" "-nologo" "-Xcompiler" "-MD" "-Xcompiler" "-O2" "-Xcompiler" "-Brepro" "-Xcompiler" "-W4" "-cudart=static" "-gencode=arch=compute_89,code=sm_89" "-gencode=arch=compute_89,code=compute_89" "-o" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\bded407966a33549-utils.o" "-c" "--device-c" "kernels/utils.cu"
  exit code: 1
  cargo:warning=ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-ccbin=C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-Xcompiler" "-nologo" "-Xcompiler" "-MD" "-Xcompiler" "-O2" "-Xcompiler" "-Brepro" "-Xcompiler" "-W4" "-cudart=static" "-gencode=arch=compute_89,code=sm_89" "-gencode=arch=compute_89,code=compute_89" "-o" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\bded407966a33549-vanity.o" "-c" "--device-c" "kernels/vanity.cu"
  exit code: 1
  nvcc fatal   : Unsupported gpu architecture 'compute_89'
  cargo:warning=ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-ccbin=C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-Xcompiler" "-nologo" "-Xcompiler" "-MD" "-Xcompiler" "-O2" "-Xcompiler" "-Brepro" "-Xcompiler" "-W4" "-cudart=static" "-gencode=arch=compute_89,code=sm_89" "-gencode=arch=compute_89,code=compute_89" "-o" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\bded407966a33549-base58.o" "-c" "--device-c" "kernels/base58.cu"
  exit code: 1
  cargo:warning=ToolExecError: command did not execute successfully (status code exit code: 1): "nvcc" "-ccbin=C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-Xcompiler" "-nologo" "-Xcompiler" "-MD" "-Xcompiler" "-O2" "-Xcompiler" "-Brepro" "-Xcompiler" "-W4" "-cudart=static" "-gencode=arch=compute_89,code=sm_89" "-gencode=arch=compute_89,code=compute_89" "-o" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\bded407966a33549-sha256.o" "-c" "--device-c" "kernels/sha256.cu"

  --- stderr


  error occurred in cc-rs: command did not execute successfully (status code exit code: 1): "nvcc" "-ccbin=C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-Xcompiler" "-nologo" "-Xcompiler" "-MD" "-Xcompiler" "-O2" "-Xcompiler" "-Brepro" "-Xcompiler" "-W4" "-cudart=static" "-gencode=arch=compute_89,code=sm_89" "-gencode=arch=compute_89,code=compute_89" "-o" "C:\\Users\\lucas\\AppData\\Local\\Temp\\cargo-installR0J5S9\\release\\build\\vanity-9833fe26a964f934\\out\\bded407966a33549-sha256.o" "-c" "--device-c" "kernels/sha256.cu"


warning: build failed, waiting for other jobs to finish...
error: failed to compile `vanity v0.4.0`, intermediate artifacts can be found at `C:\Users\lucas\AppData\Local\Temp\cargo-installR0J5S9`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

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