nodejs / unofficial-builds

Unofficial binaries for Node.js
https://unofficial-builds.nodejs.org
227 stars 47 forks source link

update riscv64 ubuntu to 22.04, the next lts version #75

Closed mpolitzer closed 1 year ago

mpolitzer commented 1 year ago

This update required changing the toolchain to one with a newer glibc.

Additional info:

This started because docker-node failed to keep all the required libs during the apt-mark / apt-get purge. After some investigation I found out that ldd was the culprit by returning: error 139. And that this happened due to a segfault[1] (/usr/bin/ldd:159 of ubuntu:jammy). Updating the toolchain fixed the issue.

[1]

$ /lib/ld-linux-riscv64-lp64d.so.1 --verify /usr/local/bin/node; echo $?
Segmentation fault
139
mpolitzer commented 1 year ago

Hi, Would it be possible to get feedback on this?

sxa commented 1 year ago

Hmmm I personally have a couple of systems with earlier glibc versions so if this is going to bump up the glibc version I can't say it's be ideal ... Am I correct in saying the glibc will be bumped by this or will the cross toolchain produce builds which will still work with pre-22.04 versions?