Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile on debian / ROCK64 arm board #292

Closed
peioe opened this issue Dec 24, 2017 · 5 comments
Closed

Can't compile on debian / ROCK64 arm board #292

peioe opened this issue Dec 24, 2017 · 5 comments
Assignees
Labels

Comments

@peioe
Copy link

peioe commented Dec 24, 2017

I get this:
make
Scanning dependencies of target xmrig
[ 2%] Building CXX object CMakeFiles/xmrig.dir/src/api/Api.cpp.o
c++: error: unrecognized argument in option ‘-march=armv8-a+crypto’
c++: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc iwmmxt iwmmxt2 native
CMakeFiles/xmrig.dir/build.make:54: recipe for target 'CMakeFiles/xmrig.dir/src/api/Api.cpp.o' failed
make[2]: *** [CMakeFiles/xmrig.dir/src/api/Api.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/xmrig.dir/all' failed
make[1]: *** [CMakeFiles/xmrig.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2

It should work with an up to date clone though right ?

@adampointer
Copy link

Master compiled ok for me on a rock64 running the xenial-minimal image . What are you thinking of mining on the rock64 out of interest?

@peioe
Copy link
Author

peioe commented Dec 24, 2017

I'm using the OMV image. Not sure tbh, monero for now, I'm just mucking around ..

@adampointer
Copy link

Looks like the crypto extensions are not recognised by the compiler. I would just try a different OS image and see if that works. Its going to have a terrible hashrate if it cannot use AES and NEON.

@peioe
Copy link
Author

peioe commented Dec 24, 2017

OK, I might try with another image if I can.

Edit: I am flashing the xenial minimal image to a spare µSD.

@xmrig xmrig added the arm label Dec 28, 2017
@xmrig xmrig self-assigned this Feb 3, 2019
@xmrig xmrig added this to the v2.11 milestone Feb 3, 2019
@xmrig
Copy link
Owner

xmrig commented Feb 3, 2019

7e4858d compilers without -march=armv8-a+crypto now supported.
Thank you.

@xmrig xmrig closed this as completed Feb 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants