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

Raspberry Pi: unrecognized command line option ‘-m64' #359

sabrehagen opened this issue Apr 16, 2017 · 1 comment


None yet
1 participant
Copy link

commented Apr 16, 2017

When executing node-gyp rebuild --target=1.6.2 --arch=x64 --dist-url= in node_modules/leveldown I get the error g++: error: unrecognized command line option ‘-m64’.

There seems to be some info here: Theano/Theano#3544

Here's my install log:

My OS details are:

Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 8.0 (jessie)
Release:	8.0
Codename:	jessie

Apologies I can't provide a fix myself, but this isn't my area of expertise.


This comment has been minimized.

Copy link

commented Apr 23, 2017

I found my error was caused by the architecture I was using. I supplied --arch=x64 when trying to compile on a Raspberry Pi with an ARMv8 CPU. Changing to --arch=armv7 fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.