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

Upgrade to V8 11.7 #1184

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Upgrade to V8 11.7 #1184

merged 1 commit into from
Sep 15, 2023

Conversation

fhanau
Copy link
Collaborator

@fhanau fhanau commented Sep 14, 2023

This V8 update is fairly inconspicuous, the new version is 11.7.439.17. Notable changes:

  • One build file needs to be compiled with C++20, at least on macOS.
  • 0009-Speed-up-V8-bazel-build-by-always-using-target-cfg.patch got cleaned up as the change that avoids running the torque generator twice has been upstreamed. This makes the patch much smaller.
  • Amend patch 12 to remove new //external:absl_optional dependency in bazel build, it is not actually being used and would require wider build system changes.

@fhanau fhanau requested a review from ohodson September 14, 2023 21:12
@fhanau fhanau merged commit 3f8ecc8 into main Sep 15, 2023
7 checks passed
@fhanau fhanau deleted the felix/v8-11.7 branch September 15, 2023 00:03
ohodson added a commit that referenced this pull request Oct 6, 2023
clang-cl has a different syntax for specifying the C++ standard
version so was rejecting the fix added in #1184 for the DCHECK in V8's
graph-visualizer.cc that needs C++20. V8 DCHECKs are enabled for dbg
builds. This is fixed in .bazelrc.

To add to my own confusion when looking into this issue, the junction
we create in the workspace folder, `external`, was stable. The
junction is created to make it easy to find sources to downloaded
dependencies and also to help VSCode find the right sources when
bazel build emits compilation errors. Unfortunately, the junction
was stale locally so following the error links reported in VSCode went
to an old version of V8 on the disk with entirely different code that
could not possibly have caused the error observed. As a result, the
script that creates the junction when VSCode opens the project is
updated to delete any existing `external` junction and create it anew.
ohodson added a commit that referenced this pull request Oct 6, 2023
clang-cl has a different syntax for specifying the C++ standard
version so was rejecting the fix added in #1184 for the DCHECK in V8's
graph-visualizer.cc that needs C++20. V8 DCHECKs are enabled for dbg
builds. This is fixed in .bazelrc.

To add to my own confusion when looking into this issue, the junction
we create in the workspace folder, `external`, was stable. The
junction is created to make it easy to find sources to downloaded
dependencies and also to help VSCode find the right sources when
bazel build emits compilation errors. Unfortunately, the junction
was stale locally so following the error links reported in VSCode went
to an old version of V8 on the disk with entirely different code that
could not possibly have caused the error observed. As a result, the
script that creates the junction when VSCode opens the project is
updated to delete any existing `external` junction and create it anew.
ohodson added a commit that referenced this pull request Oct 6, 2023
clang-cl has a different syntax for specifying the C++ standard
version so was rejecting the fix added in #1184 for the DCHECK in V8's
graph-visualizer.cc that needs C++20. V8 DCHECKs are enabled for dbg
builds. This is fixed in .bazelrc.

To add to my own confusion when looking into this issue, the junction
we create in the workspace folder, `external`, was stable. The
junction is created to make it easy to find sources to downloaded
dependencies and also to help VSCode find the right sources when
bazel build emits compilation errors. Unfortunately, the junction
was stale locally so following the error links reported in VSCode went
to an old version of V8 on the disk with entirely different code that
could not possibly have caused the error observed. As a result, the
script that creates the junction when VSCode opens the project is
updated to delete any existing `external` junction and create it anew.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants