-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
ARMv6, On compiling string.cc: Error: selected processor does not support `yield' in ARM mode #44357
Comments
Node.js hasn't supported ARMv6 since, I don't know, 2013 or 2014. You should target ARMv7. |
I did consider that, even though my PI 1 B+ is doing a great job and is more than capable of handling node-red, mqtt, pi-hole, webserver and other small things. I'm also not a fan of putting a perfectly working device into trash, because some exotic & avoidable c++ code will not compile. |
You can find unofficial builds for armv6l here but they're unsupported, i.e., you're on your own when stuff breaks. (Same goes for building from source.) |
To target the minimal arm version supported by v8 (armv6k + vfpv2) one has to
|
Wow thanks, I will try this soon. I'm still compiling the LTS v16 since 4 days. |
Maybe this issue should be reopened and a PR made to close it. After all, if node runs on armv6k/vfp2 it's too bad not to update configure.py to allow it. |
I agree, for me experimental status means that it is at least compiling in most versions rather than none. Maybe let me test if it compiles and is able to run node-red with your settings, then reopening makes more sense. It will take me at least 5-10 more days to finish compiling both 16.x and 18.x |
For the record, debian has now an armel version of nodejs 18 for those processors that support armv6k, vfpv2. |
Version
18.7.0
Platform
Linux pi 5.15.56+ #1575 Fri Jul 22 20:26:40 BST 2022 armv6l GNU/Linux
Subsystem
string
What steps will reproduce the bug?
Unpack the source file to /root/temp/node-v18.7.0,
cd node-v18.7.0/test
and execute the following excerpt from the make process (you might actually have to make the whole thing once up to the error, which takes 2 days, afterwards the line can be repeated on its own):How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
Module compiles
What do you see instead?
Additional information
The text was updated successfully, but these errors were encountered: