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
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.
./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.
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.
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).
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.
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.
Activity
gireeshpunathil commentedon Oct 8, 2021
@fmoraes74 is this still an issue?
./configure --help | grep shareddoes 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 commentedon Oct 8, 2021
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 commentedon Oct 8, 2021
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 commentedon Feb 10, 2022
I think if nodejs provide a libv8.so for some external project it is will good solution
github-actions commentedon 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 commentedon 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.