-
Notifications
You must be signed in to change notification settings - Fork 30k
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
ABI breaking change in Node.js 16.6.0 #39623
Labels
v8 engine
Issues and PRs related to the V8 dependency.
Comments
Thanks for raising this @reuben. The breakage was not intended. I'm trying a fix locally. |
targos
added a commit
to targos/node
that referenced
this issue
Aug 2, 2021
Refs: v8/v8@a7980d4 Refs: v8/v8@ad4eab0 Fixes: nodejs#39623
targos
added a commit
that referenced
this issue
Aug 2, 2021
Refs: v8/v8@a7980d4 Refs: v8/v8@ad4eab0 Fixes: #39623 PR-URL: #39624 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
fixed in 41e105b |
targos
added a commit
that referenced
this issue
Aug 2, 2021
Refs: v8/v8@a7980d4 Refs: v8/v8@ad4eab0 Fixes: #39623 PR-URL: #39624 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting a loader error when trying to load a binary extension built with NodeJS 16.0.0 headers on NodeJS 16.6.0:
Which is
v8::FunctionTemplate::SetCallHandler(void (*)(v8::FunctionCallbackInfo<v8::Value> const&), v8::Local<v8::Value>, v8::SideEffectType, v8::CFunction const*)
.Looking at blame in v8, it looks like this is the relevant commit, which changed the last parameter from a v8::CFunction const pointer to an std::vector of CFunction const pointers: v8/v8@a7980d4
Apologies if this is not the correct place to raise this, but it seemed like the most close to the root cause, specially given that it looks to me like NodeJS 16.6.0 was released with an unplanned ABI breakage.
Originally posted by @reuben in #39470 (comment)
The text was updated successfully, but these errors were encountered: