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

Building NodeJS with a shared v8 #3302

Closed
fmoraes74 opened this issue Apr 5, 2021 · 6 comments
Closed

Building NodeJS with a shared v8 #3302

fmoraes74 opened this issue Apr 5, 2021 · 6 comments

Comments

@fmoraes74
Copy link

It is possible to build node to use the embedded deps for v8 but built as a shared library? Seems like node always wants v8 to be built as a static library but I want it to use v8 as shared library.

@gireeshpunathil
Copy link
Member

@fmoraes74 is this still an issue?

./configure --help | grep shared does show up options to use many components as shared libs, but not v8. I guess the reason is that many of those components are packages as part of the OS, based on specific distributions, and v8 is not incldued in any OS.

what would be your use case? if you have a compelling reason, feel free to raise an RFE in core.

@addaleax
Copy link
Member

addaleax commented Oct 8, 2021

I guess the reason is that many of those components are packages as part of the OS, based on specific distributions, and v8 is not incldued in any OS.

One main reason is that Node.js also liberally applies patches against V8 and is unlikely to build or link successfully against a precompiled, unpatched version of V8.

@richardlau
Copy link
Member

It used to be possible a long time ago but was removed (nodejs/node#1331) due to issues with compatibility between different versions of V8 (which does not follow semantic versioning).

@alekseibutiaev
Copy link

I think if nodejs provide a libv8.so for some external project it is will good solution

Copy link

github-actions bot commented May 9, 2024

It seems there has been no activity on this issue for a while, and it is being closed in 30 days. If you believe this issue should remain open, please leave a comment.
If you need further assistance or have questions, you can also search for similar issues on Stack Overflow.
Make sure to look at the README file for the most updated links.

@github-actions github-actions bot added the stale label May 9, 2024
Copy link

github-actions bot commented Jun 9, 2024

It seems there has been no activity on this issue for a while, and it is being closed. If you believe this issue should remain open, please leave a comment.
If you need further assistance or have questions, you can also search for similar issues on Stack Overflow.
Make sure to look at the README file for the most updated links.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 9, 2024
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

6 participants