Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error -- unsupported GNU version! gcc versions later than 8 are not supported! #2751

Open
lfsamp opened this issue May 3, 2022 · 0 comments

Comments

@lfsamp
Copy link

lfsamp commented May 3, 2022

Describe the bug
I am trying to compile this project in Linux Mint 20.2.
I am getting the error error -- unsupported GNU version! gcc versions later than 8 are not supported!

The version mu gcc is: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

Any suggestion how to fix that without uninstall Linux Mint 20.2?

Here the error log:

[  6%] Built target xmr-stak-asm
[ 20%] Built target xmr-stak-c
[ 71%] Built target xmr-stak-backend
[ 75%] Built target xmr-stak
[ 77%] Building NVCC (Device) object CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/xmrstak_cuda_backend_generated_cuda_extra.cu.o
In file included from /usr/include/cuda_runtime.h:83,
                 from <command-line>:
/usr/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
  138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
      |  ^~~~~
CMake Error at xmrstak_cuda_backend_generated_cuda_extra.cu.o.Release.cmake:220 (message):
  Error generating
  /mnt/WorkSpace2T/Monero/xmr-stak/build/CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/./xmrstak_cuda_backend_generated_cuda_extra.cu.o


make[2]: *** [CMakeFiles/xmrstak_cuda_backend.dir/build.make:72: CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/xmrstak_cuda_backend_generated_cuda_extra.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:116: CMakeFiles/xmrstak_cuda_backend.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant