Closed tgwaste closed 3 years ago
Did you try to compile with single thread? Make sure you use gcc+v7,v8 or v9. V10 seems to be buggy.
Ill try that. I'm currently using gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
Unfortunately compiling it on a single thread gave the same results.
Can you please retry with the latest master
This is working great now. Pretty clean to. The only 2 warnings I get are:
/usr/local/bin/test/xmrigCC/src/App.cpp: In member function ‘void xmrig::App::reboot()’:
/usr/local/bin/test/xmrigCC/src/App.cpp:185:15: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
185 | system(rebootCmd);
| ~~~~~~^~~~~~~~~~~
/usr/local/bin/test/xmrigCC/src/crypto/randomx/panthera/yespower-opt.c:57:4: warning: #warning WARN_MESSAGE [-Wcpp]
57 | # warning WARN_MESSAGE
| ^~~~~~~
That's fine. Will close the ticket.
Is there any way this can be fixed?
Searching I found this
That happens when you try to compile a UTF-16 encoded file saved in Windows with gcc. Change encoding of your sources to UTF-8. See [related CPP documentation][1]
This issue prevents compiling on 4GB RAM servers (even with swap it seems)