-
Notifications
You must be signed in to change notification settings - Fork 126
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
Compiling on ARM fails #25
Comments
build at node_modules manually. mkdir sodium -change deps/libsodium.gyp as below diff.
node-gyp rebuild |
just updated lib sodium to 1.0.0 and removed the ASM code. so if you update the arch in the lib sodium.gyp it should work now. |
It is working. |
can you send me your gyp file so I can merge it? |
FWIW I also reproduce this matter with i686 this means it works only on x86_64 apparently |
Here is what I had to change to compile it:
Then |
I can confirm that this patch also works both on |
See #30 |
@Natim Thanks, that fix enables me to compile master on 32bit. However, I get errors during
It might be important to note that I am also using @jonasfj's patches in order to compile vs. node 0.11.13. If I pull his fork directly and try to compile that on 32 bit, setting
|
Does anyone have a hint for me how to fix this? |
this sounds like a libsodium issue, not a node-sodium issue... Or maybe it part of how libsodium gets build... Is this arm or i686 too? And any suggestions for how to reproduce, maybe supply a vagrant box... |
can you try the develop branch? |
Libsodium fails to compile on ARM. I ran 'node-gyp configure' and 'node-gyp build'. I've copypasta'd the entire thing below, but I think the relevant part is this:
crypto_onetimeauth/poly1305/donna/portable-jane.h:674: unable to emulate 'TI'
Any ideas?
The text was updated successfully, but these errors were encountered: