You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with Node.js 18 we have moved building the release binaries
from being built on CentOS 7/RHEL 7 to being built on RHEL 8 as the
End-of-Life date of CentOS 7/RHEL 7 is before the End-of-Life date
of Node.js 18 and we do not want to have to make a disruptive change
towards the end of Node.js 18's life cycle.
Moving to RHEL 8 has raised the glibc version being linked against
(2.28). The official Node.js Linux release binaries will only run on
Linux distributions with a matching or higher version of glibc.
PR-URL: #42659
Refs: nodejs/build#2815
Refs: nodejs/build#2741
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Stewart X Addison <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
[^1]: GCC 8 is not provided on the base platform. Users will
123
-
need the
124
-
[Toolchain test builds PPA](https://launchpad.net/\~ubuntu-toolchain-r/+archive/ubuntu/test?field.series_filter=xenial)
125
-
or similar to source a newer compiler.
126
-
127
-
[^2]: GCC 8 is not provided on the base platform. Users will
[^1]: Older kernel versions may work. However official Node.js release
123
+
binaries are [built on RHEL 8 systems](#official-binary-platforms-and-toolchains)
124
+
with kernel 4.18.
125
+
126
+
[^2]: On Windows, running Node.js in Windows terminal emulators
136
127
like `mintty` requires the usage of [winpty](https://github.com/rprichard/winpty)
137
128
for the tty channels to work (e.g. `winpty node.exe script.js`).
138
129
In "Git bash" if you call the node shell alias (`node` without the `.exe`
139
130
extension), `winpty` is used automatically.
140
131
141
-
[^5]: The Windows Subsystem for Linux (WSL) is not
132
+
[^3]: The Windows Subsystem for Linux (WSL) is not
142
133
supported, but the GNU/Linux build process and binaries should work. The
143
134
community will only address issues that reproduce on native GNU/Linux
144
135
systems. Issues that only reproduce on WSL should be reported in the
145
136
[WSL issue tracker](https://github.com/Microsoft/WSL/issues). Running the
146
137
Windows binary (`node.exe`) in WSL will not work without workarounds such as
147
138
stdio redirection.
148
139
149
-
[^6]: Compiling Node.js for x86 Windows is currently impossible due to
140
+
[^4]: Compiling Node.js for x86 Windows is currently impossible due to
150
141
issues with version 10.1 of the V8 engine. Support will come back to its
151
142
previous status as soon as possible.
152
143
153
-
[^7]: Our macOS x64 Binaries are compiled with 10.15 as a target. Xcode11 is
144
+
[^5]: Our macOS x64 Binaries are compiled with 10.15 as a target. Xcode11 is
154
145
required to compile.
155
146
156
147
### Supported toolchains
@@ -172,19 +163,17 @@ Binaries at <https://nodejs.org/download/release/> are produced on:
172
163
| aix-ppc64 | AIX 7.2 TL04 on PPC64BE with GCC 8 |
173
164
| darwin-x64 | macOS 10.15, Xcode Command Line Tools 11 with -mmacosx-version-min=10.15 |
174
165
| darwin-arm64 (and .pkg) | macOS 11 (arm64), Xcode Command Line Tools 12 with -mmacosx-version-min=10.15 |
175
-
| linux-arm64 |CentOS 7 with devtoolset-8 / GCC 8[^8]|
166
+
| linux-arm64 |RHEL 8 with GCC 8[^6]|
176
167
| linux-armv7l | Cross-compiled on Ubuntu 18.04 x64 with [custom GCC toolchain](https://github.com/rvagg/rpi-newer-crosstools)|
177
-
| linux-ppc64le |CentOS 7 with devtoolset-8 / GCC 8[^8]|
178
-
| linux-s390x | RHEL 7 with devtoolset-8 / GCC 8[^8]|
179
-
| linux-x64 |CentOS 7 with devtoolset-8 / GCC 8[^8]|
168
+
| linux-ppc64le |RHEL 8 with GCC 8[^6]|
169
+
| linux-s390x | RHEL 8 with GCC 8[^6]|
170
+
| linux-x64 |RHEL 8 with GCC 8[^6]|
180
171
| win-x64 and win-x86 | Windows 2012 R2 (x64) with Visual Studio 2019 |
181
172
182
-
[^8]: The Enterprise Linux devtoolset-8 allows us to compile binaries with GCC 8
183
-
but linked to the glibc and libstdc++ versions of the host platforms
184
-
(CentOS 7 / RHEL 7). Therefore, binaries produced on these systems are
185
-
compatible with glibc >= 2.17 and libstdc++ >= 6.0.20 (`GLIBCXX_3.4.20`).
186
-
These are available on distributions natively supporting GCC 4.9, such as
187
-
Ubuntu 14.04 and Debian 8.
173
+
[^6]: Binaries produced on these systems are compatible with glibc >= 2.28
174
+
and libstdc++ >= 6.0.25 (`GLIBCXX_3.4.25`). These are available on
175
+
distributions natively supporting GCC 8.1 or higher, such as Debian 10,
0 commit comments