Skip to content
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

gcc4.8-libs on smartos16? #1519

Closed
richardlau opened this issue Oct 5, 2018 · 1 comment
Closed

gcc4.8-libs on smartos16? #1519

richardlau opened this issue Oct 5, 2018 · 1 comment

Comments

@richardlau
Copy link
Member

Currently seeing the following error when trying to run Node.js 10 on smartos16-64 on the CI:
https://ci.nodejs.org/job/nodereport-continuous-integration/235/nodes=smartos16-64/console

+ node -v
ld.so.1: node: fatal: relocation error: file /home/iojs/build/workspace/nodereport-continuous-integration/nodes/smartos16-64/node-v10.11.0-sunos-x64/bin/node: symbol _ZTVNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE: referenced symbol not found

(The node-report CI downloads the pre-built Node.js binaries and doe not build from source).

According to our supported platforms for Node.js 10 we should be able to run if gcc4.8-libs package is installed:

https://github.com/nodejs/node/blob/v10.x/BUILDING.md#supported-platforms-1

System Support type Version Architectures Notes
SmartOS Tier 2 >= 15 < 16.4 x86, x64 1

1: The gcc4.8-libs package needs to be installed, because node binaries have been built with GCC 4.8, for which runtime libraries are not installed by default. For these node versions, the recommended binaries are the ones available in pkgsrc, not the one available from nodejs.org. Note that the binaries downloaded from the pkgsrc repositories are not officially supported by the Node.js project, and instead are supported by Joyent. SmartOS images >= 16.4 are not supported because GCC 4.8 runtime libraries are not available in their pkgsrc repository

Is this something that is already there that could be selected via https://github.com/nodejs/build/blob/master/jenkins/scripts/select-compiler.sh?

cc @nodejs/platform-smartos

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

No branches or pull requests

2 participants