Open JimVanEeden opened 6 years ago
Could you provide your gcc version and ubuntu version details (uname -a) output?
gcc: gcc (Ubuntu 6.4.0-8ubuntu1) 6.4.0 20171010
version details: Linux riddles 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
My usual gcc version is 7.2.0 but apparently I needed 6.x to install CUDA. Anyway, same messages when running the miner with gcc 7.
Thanks, I'll continue investigating on my end.
We've published an updated version of the miner, could you give that a try and see if you have the same issue?
Same problem with the updated version. I feel like this is a problem specific for my system, but I've never seen it before though.
Are you running an Intel processor? Did you compile the reference miner or are you executing it from the precompiled binaries?
My CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
I compiled the reference miner myself.
Perhaps you could try adding set(CMAKE_POSITION_INDEPENDENT_CODE ON)
to the CMakeLists.txt file in the reference miner source directory beneath the #LINUX section (above set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m64 -mavx")
) and recompiling
@JSorenSwanson I tried but it doesn't work. Doesn't seem to do anything as far as I can see.
Try adding set(CMAKE_POSITION_INDEPENDENT_CODE ON)
to the CMakeLists.txt file in the CUDA_TROMP directory above set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS};--disable-warnings;--ptxas-options=-v;-use_fast_math;-lineinfo)
.
I'm pretty sure that this issue has to do with linking static libraries -- this global setting should set the -fPIC compiler flag automatically. Does the precompiled miner binary throw the same error?
That option is already set in the default CMakeLists.txt file by default on line 19.
With the precompiled version I don't have the problem. Good suggestion, hadn't tried that yet.
Some source file is likely being compiled with statically linked binaries, if so this is something they should investigate. @aion-Ross
Best of luck!
I get these messages every time I start run ./aionminer, even when running with -h. I'm not sure if this is something harmful.
Other than that everything seems to work fine. Running on Ubuntu 17.10.