Giter VIP home page Giter VIP logo

Comments (2)

setuidroot avatar setuidroot commented on August 24, 2024

Ubuntu 14.04 you probably have too old a version of GCC. You need GCC 5 or above.

Type in terminal: gcc --version

gcc (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010

^ if it's less than 5.x, you need to upgrade it. You can use GCC 7, install it with the terminal commands listed below:

sudo add-apt-repository ppa:jonathonf/gcc
sudo apt-get update -y
sudo apt-get install gcc-7 g++-7
sudo apt-get update -y && apt-get upgrade -y

Then go to your build directory and run cmake with these flags (plus any other flags you want like -DWITH_HTTPD=OFF or -DWITH_TLS=OFF

cmake .. -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7

make -j 2 --keep-going

This should work, if not then you have some other issue. You didn't give much info about your system so I just assumed because it's old 14.04 that you have an old compiler.

Note: you will probably get "-Wno-class-memaccess" warning from cmake, but it's just warning you can ignore, not an error.

from xmrig-amd.

eltech35 avatar eltech35 commented on August 24, 2024

Yes GCC was v4.8.5.

Nice ! Compilation worked perfectly, no errors.

  • But with default config.json, error calibrating the cn/2 algo:
    (errors are random, after some success on cn/2, it faulted on cn/1)

  • tried to compile out of the rig, in a dev server, ubuntu 16 / Gcc/++ 7, same random errors

  • tried to compile on rig with GCC/++ 7.3.0 LibUV 1.22 / OpenCL/2.0 / OpenSSL/1.0.1f / Microhttpd 0.9.33, same random errors

2018-11-02 03:13:49] found OpenCL GPU: Radeon RX 570 Series, cu: 32
[2018-11-02 03:13:49] #0, GPU #0 Radeon RX 570 Series, intensity: 768 (8/256), unroll: 8, cu: 32
[2018-11-02 03:13:49] GPU #0 compiling...
[2018-11-02 03:13:58] GPU #0 compilation completed, elapsed time 9.26s
[2018-11-02 03:13:58] #1, GPU #1 Radeon RX 570 Series, intensity: 768 (8/256), unroll: 8, cu: 32
[2018-11-02 03:13:59] #2, GPU #2 Radeon RX 570 Series, intensity: 768 (8/256), unroll: 8, cu: 32
[2018-11-02 03:13:59] #3, GPU #3 Radeon RX 570 Series, intensity: 768 (8/256), unroll: 8, cu: 32
[2018-11-02 03:13:59] #4, GPU #4 Radeon RX 570 Series, intensity: 768 (8/256), unroll: 8, cu: 32
[2018-11-02 03:13:59] #5, GPU #5 Radeon RX 570 Series, intensity: 768 (8/256), unroll: 8, cu: 32
[2018-11-02 03:13:59] #6, GPU #6 Radeon RX 570 Series, intensity: 768 (8/256), unroll: 8, cu: 32
[2018-11-02 03:13:59] configuration saved to: "/home/ethos/xmrig-amd/build/config.json"

STARTING ALGO PERFORMANCE CALIBRATION (with 60 seconds round)
[2018-11-02 03:14:52] speed 10s/60s/15m 4556.0 n/a n/a H/s max 4557.0 H/s
===> cn hashrate: 4437.854980
ALGO CHANGE: cryptonight/2
[2018-11-02 03:15:02] #0, GPU #0 Radeon RX 570 Series, intensity: 768 (8/256), unroll: 8, cu: 32
[2018-11-02 03:15:02] #1, GPU #1 Radeon RX 570 Series, intensity: 768 (8/256), unroll: 8, cu: 32
*** Error in `./xmrig-amd': corrupted double-linked list: 0x0000000001d5d3b0 ***
Aborted

from xmrig-amd.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.