-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Description
Version
v18.0.0-nightly20220315a01302b8df
Platform
Linux 5d282713443e 5.10.76-linuxkit #1 SMP Mon Nov 8 10:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
Attempt to run a recent node v18.0.0 nightly (e.g. https://nodejs.org/download/nightly/v18.0.0-nightly20220315a01302b8df/) on Ubuntu 18.04 or earlier.
% docker run -ti --rm ubuntu:18.04 /bin/bash
root@5d282713443e:/# apt-get -qq update && apt-get -qq install -y curl
...
root@5d282713443e:/# curl -O https://nodejs.org/download/nightly/v18.0.0-nightly20220315a01302b8df/node-v18.0.0-nightly20220315a01302b8df-linux-x64.tar.gz
...
root@5d282713443e:/# tar xf node-v18.0.0-nightly20220315a01302b8df-linux-x64.tar.gz
root@5d282713443e:/# ./node-v18.0.0-nightly20220315a01302b8df-linux-x64/bin/node
./node-v18.0.0-nightly20220315a01302b8df-linux-x64/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./node-v18.0.0-nightly20220315a01302b8df-linux-x64/bin/node)
Ubuntu 18.04 only has glibc 2.27:
root@5d282713443e:/# /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1.5) stable release version 2.27.
I haven't worked backwards to find out which nightly build introduced this. I can do so if that would help.
How often does it reproduce? Is there a required condition?
Reproduces every time on Ubuntu 18.04.
What is the expected behavior?
Nightly builds of v18.0.0 from a week or two ago (last I checked) ran fine on Ubuntu 18.04. My expectation is that nightly builds would continue to do so. However, I don't know what the policy is for supported Linux glibc. The building notes (https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list) suggest glibc >2.17
should suffice for building.
Did something change in how the node.js nightlies are being built? Was this change to a newer minimum glibc version intentional? (Apologies if this is the wrong place to ask.)
What do you see instead?
Node crashes.
Additional information
No response