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

deps: update V8 to 13.2.152.37 #56842

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

deps: update V8 to 13.2.152.37 #56842

wants to merge 16 commits into from

Conversation

targos
Copy link
Member

@targos targos commented Jan 31, 2025

@nodejs/v8-update @nodejs/tsc

@targos targos added semver-major PRs that contain breaking changes and should be released in the next major version. v8 engine Issues and PRs related to the V8 dependency. labels Jan 31, 2025
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/security-wg
  • @nodejs/v8-update

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. labels Jan 31, 2025
@targos targos added request-ci Add this label to start a Jenkins CI on a PR. and removed build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. labels Jan 31, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 31, 2025
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@targos

This comment was marked as resolved.

@anonrig

This comment was marked as resolved.

@targos

This comment was marked as resolved.

@targos
Copy link
Member Author

targos commented Jan 31, 2025

@nodejs/platform-windows Windows build (with MSVC) is broken: https://ci.nodejs.org/job/node-compile-windows/60182/

targos and others added 13 commits February 1, 2025 09:16
Major V8 updates are usually API/ABI incompatible with previous
versions. This commit adapts NODE_MODULE_VERSION for V8 13.2.

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
dllexport introduces issues when compiling with MSVC.

PR-URL: nodejs#47251
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
It introduces process hangs on some platforms because Node.js doesn't
tear down V8 correctly.
Disable it while we work on a solution.

Refs: nodejs#47297
Refs: https://bugs.chromium.org/p/v8/issues/detail?id=13902
PR-URL: nodejs#47450
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
PR-URL: nodejs#54077
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Co-Authored-By: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#54536
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
PR-URL: nodejs#53134
Refs: nodejs#52809
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs#55014
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
It's causing compiler errors with some classes on Xcode 11
and the attribute should have no runtime effect.

PR-URL: nodejs#54077
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
PR-URL: nodejs#55014
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
It's causing linker errors with node.lib in node-gyp and potentially
breaks other 3rd party tools

PR-URL: nodejs#56238
Refs: nodejs#55784
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: nodejs#55014
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@targos targos added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 1, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 1, 2025
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

Copy link

codecov bot commented Feb 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.71%. Comparing base (ad84558) to head (7b1a158).
Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #56842      +/-   ##
==========================================
- Coverage   89.16%   88.71%   -0.46%     
==========================================
  Files         665      665              
  Lines      192602   192514      -88     
  Branches    37052    36732     -320     
==========================================
- Hits       171743   170795     -948     
- Misses      13668    14488     +820     
- Partials     7191     7231      +40     

see 114 files with indirect coverage changes

@targos
Copy link
Member Author

targos commented Feb 4, 2025

Ping @nodejs/platform-windows https://ci.nodejs.org/job/node-test-commit-windows-fanned/68245/

10:36:32 C:\workspace\node-compile-windows-debug\node\deps\v8\src\execution\isolate.h(568,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\workspace\node-compile-windows-debug\node\tools\v8_gypfiles\v8_initializers_slow.vcxproj]
10:36:32 C:\workspace\node-compile-windows-debug\node\deps\v8\src\execution\isolate.h(568,16): error C3861: 'tls_model': identifier not found [C:\workspace\node-compile-windows-debug\node\tools\v8_gypfiles\v8_initializers_slow.vcxproj]
10:36:32 C:\workspace\node-compile-windows-debug\node\deps\v8\src\execution\isolate.h(568,42): error C2062: type 'v8::internal::Isolate' unexpected [C:\workspace\node-compile-windows-debug\node\tools\v8_gypfiles\v8_initializers_slow.vcxproj]
10:36:32 C:\workspace\node-compile-windows-debug\node\deps\v8\src\execution\isolate.h(666,3): error C2065: 'g_current_isolate_': undeclared identifier [C:\workspace\node-compile-windows-debug\node\tools\v8_gypfiles\v8_initializers_slow.vcxproj]
10:36:32 C:\workspace\node-compile-windows-debug\node\deps\v8\src\heap\local-heap.h(35,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\workspace\node-compile-windows-debug\node\tools\v8_gypfiles\v8_initializers_slow.vcxproj]
10:36:32 C:\workspace\node-compile-windows-debug\node\deps\v8\src\heap\local-heap.h(35,1): error C2374: 'v8::internal::__attribute__': redefinition; multiple initialization [C:\workspace\node-compile-windows-debug\node\tools\v8_gypfiles\v8_initializers_slow.vcxproj]
10:36:32 C:\workspace\node-compile-windows-debug\node\deps\v8\src\execution\isolate.h(568,1): message : see declaration of 'v8::internal::__attribute__' [C:\workspace\node-compile-windows-debug\node\tools\v8_gypfiles\v8_initializers_slow.vcxproj]
10:36:32 C:\workspace\node-compile-windows-debug\node\deps\v8\src\heap\local-heap.h(35,16): error C3861: 'tls_model': identifier not found [C:\workspace\node-compile-windows-debug\node\tools\v8_gypfiles\v8_initializers_slow.vcxproj]
10:36:32 C:\workspace\node-compile-windows-debug\node\deps\v8\src\heap\local-heap.h(35,42): error C2062: type 'v8::internal::LocalHeap' unexpected [C:\workspace\node-compile-windows-debug\node\tools\v8_gypfiles\v8_initializers_slow.vcxproj]
10:36:32 C:\workspace\node-compile-windows-debug\node\deps\v8\src\heap\local-heap.h(159,3): error C2065: 'g_current_local_heap_': undeclared identifier [C:\workspace\node-compile-windows-debug\node\tools\v8_gypfiles\v8_initializers_slow.vcxproj]

In case it helps, the problematic line was added in https://chromium-review.googlesource.com/c/v8/v8/+/5922879

New V8 version includes more information about regular expressions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-major PRs that contain breaking changes and should be released in the next major version. v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants