Giter Club home page Giter Club logo

Comments (8)

dimecoin avatar dimecoin commented on August 22, 2024

core2 arch isn't supported, xmr-stak-cpu requires CPUs with AES instructions. It won't work.

X5690 does say it has AES-NI support, so not sure why it's getting "Illegal instruction".

Did you compile on the X5690 using the default CmakeList.txt ?

from xmr-stak-cpu.

George-Gate avatar George-Gate commented on August 22, 2024

My server does not have gcc-5, so I compile it on my own computer. My computer is Ubuntu 14.04 with gcc-5.4 and g++-5.4. When I use the default CMakeList.txt, everything is OK, but if I add "-march=core2" or "-march=core-avx" to CMAKE_C_FLAGS, the compiler print error msgs I showed above. I think you can reproduce this error by just adding "-march=core2" to CMAKE_C_FLAGS.

from xmr-stak-cpu.

George-Gate avatar George-Gate commented on August 22, 2024

About my server, I does support SSE2 and AES.

Part of /proc/cpuinfo:

flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid

The output of cpuminer-multi compiled with "-march=core2" option:

** cpuminer-multi 1.1 by Tanguy Pruvot (tpruvot@github) **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd
Modified by NiceHash (www.nicehash.com)
[2017-01-08 15:45:01] Using JSON-RPC 2.0
[2017-01-08 15:45:01] CPU Supports AES-NI: YES
[2017-01-08 15:45:01] 12 miner threads started, using 'cryptonight' algorithm.

BTW, is there any difference between AES and AES-NI ?

from xmr-stak-cpu.

dimecoin avatar dimecoin commented on August 22, 2024

See the newest changes, there is a static build option now. Use that on your gcc 5.x+ machine to compile and copy binary over. Don't change march, it should be 'westmere' (default).

from xmr-stak-cpu.

George-Gate avatar George-Gate commented on August 22, 2024

The 'westmere' works~ Thank you!
BTW, why the default option is '-march=westmere'? Is it the minimum requirement to compile this program?

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on August 22, 2024

Yes, Westmere is the mininmum core that has AES. Keep in mind if you have a motherboard that was built for Nehalem you will need to update BIOS.

from xmr-stak-cpu.

George-Gate avatar George-Gate commented on August 22, 2024

Get it. Thanks a lot!

from xmr-stak-cpu.

dimecoin avatar dimecoin commented on August 22, 2024

This can be closed.

from xmr-stak-cpu.

Related Issues (20)

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.