-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
deps: fix V8 build for GCC 6 #6419
Conversation
V8 erroneously does null pointer checks on `this`. It can lead to a SIGSEGV crash if node is compiled with GCC 6. Enable -fno-delete-null-pointer-checks to circumvent this issue. Ref: nodejs#6272
I wanted to submit this directly to V8 but I am completely unable to build V8 on my computer:
|
Just create a symlink from libtinfo.so.5 to libncurses.so. |
Or try |
Apropos this PR, can I suggest back-porting the
|
Of course. I wasn't aware of these changes when I made the PR. I'm just gonna close this and work on the backport. |
I get the same error |
Mea culpa, I mistyped. It should be |
still not working :( Edit: I mean it's still trying to run |
I don't know what commit you're at but V8's build system is going through some changes right now and it might just be plain broken, see e.g. https://codereview.chromium.org/1938893002/. Maybe try checking out a revision from one or two weeks ago. |
Oh I see, thank you. I was on |
Checklist
Affected core subsystem(s)
build
Description of change
V8 erroneously does null pointer checks on
this
.It can lead to a SIGSEGV crash if node is compiled with GCC 6.
Enable -fno-delete-null-pointer-checks to circumvent this issue.
Ref: #6272
cc @bnoordhuis @nodejs/v8 @nodejs/build