Post
Topic
Board Mining (Altcoins)
Re: RandomX Benchmarks! https://randomx.monerobenchmarks.info
by
joblo
on 14/11/2019, 15:37:10 UTC
I haven't found a xmrig discussion thread so I'll post here.

Has anyone gotten cuda-plugin to compile on Ubuntu 18.04?
It compiles on 19.04 but 18.04 fails:

Code:
-- Found CUDA: /usr (found suitable version "9.1", minimum required is "8.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/coin/miners/xmrig/xmrig-cuda-2.0.0-beta/build
coin@sys24:~/miners/xmrig/xmrig-cuda-2.0.0-beta/build$ make
[  8%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/RandomX/wownero/xmrig-cu_generated_randomx_wownero.cu.o
In file included from /usr/include/host_config.h:50:0,
                 from /usr/include/cuda_runtime.h:78,
                 from :0:
/usr/include/crt/host_config.h:121:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
 #error -- unsupported GNU version! gcc versions later than 6 are not supported!
  ^~~~~
cc1plus: warning: unrecognized command line option ‘-Wno-class-memaccess’
CMake Error at xmrig-cu_generated_randomx_wownero.cu.o.Release.cmake:219 (message):
  Error generating
  /home/coin/miners/xmrig/xmrig-cuda-2.0.0-beta/build/CMakeFiles/xmrig-cu.dir/src/RandomX/wownero/./xmrig-cu_generated_randomx_wownero.cu.o


CMakeFiles/xmrig-cu.dir/build.make:105: recipe for target 'CMakeFiles/xmrig-cu.dir/src/RandomX/wownero/xmrig-cu_generated_randomx_wownero.cu.o' failed
make[2]: *** [CMakeFiles/xmrig-cu.dir/src/RandomX/wownero/xmrig-cu_generated_randomx_wownero.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/xmrig-cu.dir/all' failed
make[1]: *** [CMakeFiles/xmrig-cu.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2