-
Notifications
You must be signed in to change notification settings - Fork 167
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
Running node.js 10 on CentOS7 ARM on RaspberryPi #1724
Comments
Have you tried GCC-6 (i.e. devtoolset-6) ? that's the closest toolset we use - https://ci.nodejs.org/job/node-test-commit-arm/nodes=centos7-arm64-gcc6/ |
devtoolset is sadly not available for arm |
So what we do is cross-compile for arm7 on a ia32 host - https://ci.nodejs.org/job/node-cross-compile/nodes=cross-compiler-armv7-gcc-4.9.4/22305/consoleFull but the host is Ubuntu16, and the compiler is gcc4.9 (which links against libstdc++6) Does any of the following help? https://rpmfind.net/linux/rpm2html/search.php?query=libstdc%2B%2B.so.6 |
Or this (it's the libstdc++6 from the cross-compile-toolchain) |
How could this work?
|
¯\(ツ)/¯ was worth a shot. |
BTW, check out related discussion in #1723 |
I've got node 10.0.0 compiled with gcc 4.8 but there should be a better method to build an up to date nodejs version for systems with gcc4.8 only |
That's not going to be possible in the future as both our codebase and V8 will migrate to more and more C++17. What we should be able to do is cross compile in a way that the only dependencies will be kernel and libc levels as per https://github.com/nodejs/node/blob/master/BUILDING.md#supported-platforms |
I've got it to work. Using |
That's great news! I'm going to close this issue. But the discussion is continuing in other threads. |
Hi,
I try to run node.js 10 on CentOS 7 on my PI, but currently without luck...
First try: Use the official prebuild armv7 package. Failed because of
node: /lib/libstdc++.so.6: version
GLIBCXX_3.4.20' not found (required by node)`Second try: Compile on a Scaleway armv7 host under CentOS 7 with gcc4.8 because 4.9 is not available. Failed with
error: 'make_unique' is not a member of 'std'
because make_unique requires gcc4.9 i think.So is there a real chance to get node.js 10 running under CentOS 7 ARM?
The text was updated successfully, but these errors were encountered: