-
Notifications
You must be signed in to change notification settings - Fork 198
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
sandbox error with v8 11.1.277.13 #513
Comments
it is - at least - a valid work-around :-) ... actually config.m4 should auto-detect if V8 has been compiled with sandbox enabled or disabled. But obviously detection didn't work here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just wanted to share in case others run into this as I believe I found a way to fix it:
After compiling v8 11.1.277.13 and v8js, I got the below error when trying to run javascript:
After finding https://groups.google.com/g/v8-users/c/vNlbtTQqs1U/m/-qEgODUjBAAJ, I added -DV8_ENABLE_SANDBOX to my v8js configure line, which seems to have resolved the issue:
./configure --with-v8js=/opt/v8 LDFLAGS="-lstdc++" CPPFLAGS="-DV8_COMPRESS_POINTERS -DV8_ENABLE_SANDBOX"
Please let me know if this is the correct way to fix it, or if something else should be done.
Thanks for your help.
The text was updated successfully, but these errors were encountered: