kevacoin-project / kevacoin

Kevacoin source tree
https://www.kevacoin.org
MIT License
32 stars 16 forks source link

Can't compile on ARM #21

Closed ghost closed 3 years ago

ghost commented 3 years ago

armv7l GNU/Linux Ubuntu 20.04

...
checking for objcopy... /bin/objcopy
checking whether C++ compiler accepts -Werror... yes
checking whether C++ compiler accepts -Wall... yes
checking whether C++ compiler accepts -Wextra... yes
checking whether C++ compiler accepts -Wformat... yes
checking whether C++ compiler accepts -Wvla... yes
checking whether C++ compiler accepts -Wformat-security... yes
checking whether C++ compiler accepts -Wthread-safety-analysis... no
checking whether C++ compiler accepts -Wunused-parameter... yes
checking whether C++ compiler accepts -Wself-assign... no
checking whether C++ compiler accepts -Wunused-local-typedef... no
checking whether C++ compiler accepts -Wdeprecated-register... no
checking whether C++ compiler accepts -Wimplicit-fallthrough... yes
checking whether C++ compiler accepts -msse4.2... no
checking whether C++ compiler accepts -maes... no
configure: error: "Compiler does not support -maes which is required by Cryptonight."
kevacoin-project commented 3 years ago

Kevacoin uses Cryptonight hash algorithm, which requires aes-ni instruction (x86 or x64). Cryptonight will be significantly slower without hardware aes-ni instruction. Unfortunately ARM doesn't have aes-ni instruction, hence the error message.

ghost commented 3 years ago

Thank you for answer!

d47081 commented 8 months ago

But I found this manual: https://github.com/kevacoin-project/kevacoin/blob/v0.16.8.0/doc/build-unix.md#arm-cross-compilation