Skip to content

fix: Compile Node 22+ for armv6l#170

Merged
rvagg merged 3 commits intonodejs:mainfrom
friebi:main
Jul 24, 2025
Merged

fix: Compile Node 22+ for armv6l#170
rvagg merged 3 commits intonodejs:mainfrom
friebi:main

Conversation

@friebi
Copy link
Copy Markdown
Contributor

@friebi friebi commented Apr 14, 2025

Re-enable builds for armv6l.

By switching to Ubuntu 22.04 and gcc-12, I am able to successfully compile Node 22 for armv6l and run it on my Raspberry Pi Zero.
I do not own a Raspberry 1 anymore to test.
I tested with Node 22.14.0.

Fixes #162 and reverts #143.

@friebi
Copy link
Copy Markdown
Contributor Author

friebi commented Apr 14, 2025

How can I trigger and test the CI pipeline?

@friebi
Copy link
Copy Markdown
Contributor Author

friebi commented Apr 15, 2025

I tried locally all latest major Node JS versions from 16 onwards. 17.9.1 fails with build error, all others succeed, including 16.20.2.

@friebi
Copy link
Copy Markdown
Contributor Author

friebi commented Jul 22, 2025

So will this be reviewed and possibly merged?

Copy link
Copy Markdown
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, why not, please can you guys keep an eye on these builds though, if they don't work for the latest versions of Node then we need to add a limitation for it, or fix it

@rvagg rvagg merged commit 5308257 into nodejs:main Jul 24, 2025
@friebi
Copy link
Copy Markdown
Contributor Author

friebi commented Jul 24, 2025

Thanks!

please can you guys keep an eye on these builds

trying to do so. As you can see in nodejs/node#58458 with Node 24 we might run into trouble again which also seems not so easy to fix. Except @rvagg can update the compilers or give me a guideline/hint on how you created the cross-compilers in https://github.com/rvagg/rpi-newer-crosstools

@rvagg
Copy link
Copy Markdown
Member

rvagg commented Jul 29, 2025

FYI disabling on v24: #179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

node-v22.11.0-linux-armv6l

2 participants