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 6.2 #15362

Closed
wants to merge 9 commits into from
Closed

deps: update V8 to 6.2 #15362

wants to merge 9 commits into from

Conversation

targos
Copy link
Member

@targos targos commented Sep 12, 2017

I'm opening this early to track the issues that need fixing.

Blocking issues

Compilation failure with Clang (macOS, FreeBSD)

Error
In file included from ../deps/v8/src/compiler/common-operator.cc:5:
In file included from ../deps/v8/src/compiler/common-operator.h:8:
In file included from ../deps/v8/src/assembler.h:38:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/forward_list:173:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:602:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:318:37: error: no type named 'type' in 'std::__1::enable_if<false, void>'; 'enable_if' cannot be used to disable this declaration
                 typename enable_if<is_convertible<_U1, _T1>::value &&
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/v8/src/compiler/common-operator.h:137:62: note: in instantiation of member function 'std::__1::pair<unsigned int, const v8::internal::ZoneVector<v8::internal::MachineType> *>::pair' requested here
  using std::pair<uint32_t, const ZoneVector<MachineType>*>::pair;
                                                             ^
../deps/v8/src/base/functional.h:143:69: note: while substituting deduced template arguments into function template 'TypedObjectStateInfo' [with _U1 = unsigned int, _U2 = int]
  V8_INLINE size_t operator()(T const& v) const { return hash_value(v); }
                                                                    ^
../deps/v8/src/compiler/operator.h:188:47: note: in instantiation of member function 'v8::base::hash<v8::internal::compiler::ObjectStateInfo>::operator()' requested here
    return base::hash_combine(this->opcode(), this->hash_(this->parameter()));
                                              ^
../deps/v8/src/compiler/operator.h:169:3: note: in instantiation of member function 'v8::internal::compiler::Operator1<v8::internal::compiler::ObjectStateInfo, v8::internal::compiler::OpEqualTo<v8::internal::compiler::ObjectStateInfo>, v8::internal::compiler::OpHash<v8::internal::compiler::ObjectStateInfo> >::HashCode' requested here
  Operator1(Opcode opcode, Properties properties, const char* mnemonic,
  ^
../deps/v8/src/compiler/common-operator.cc:1260:23: note: in instantiation of member function 'v8::internal::compiler::Operator1<v8::internal::compiler::ObjectStateInfo, v8::internal::compiler::OpEqualTo<v8::internal::compiler::ObjectStateInfo>, v8::internal::compiler::OpHash<v8::internal::compiler::ObjectStateInfo> >::Operator1' requested here
  return new (zone()) Operator1<ObjectStateInfo>(  // --
                      ^

Windows test failure

This one is because we do not support building addons with VS2013 anymore. We need to stop testing this on Node >=9.0.0.

@nodejs-github-bot nodejs-github-bot added tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency. labels Sep 12, 2017
@targos targos added wip Issues and PRs that are still a work in progress. and removed tools Issues and PRs related to the tools directory. labels Sep 12, 2017
@targos
Copy link
Member Author

targos commented Sep 12, 2017

@SteveCruise
Copy link

Greate!

@vsemozhetbyt
Copy link
Contributor

Will it be semver-major or landed on Node.js 8 LTS?

@MylesBorins MylesBorins added the semver-major PRs that contain breaking changes and should be released in the next major version. label Sep 12, 2017
@targos
Copy link
Member Author

targos commented Sep 12, 2017

Semver-major

@targos
Copy link
Member Author

targos commented Sep 13, 2017

I updated the OP with two main issues.

/cc @nodejs/build @nodejs/platform-macos @nodejs/platform-freebsd

@cjihrig
Copy link
Contributor

cjihrig commented Sep 14, 2017

FYI: I built this branch and ran the llnode test suite. All tests passed.

@MylesBorins
Copy link
Contributor

One more CI job to see if the gclient thing is a real problem or not

https://ci.nodejs.org/job/node-test-commit-v8-linux/904/

@MylesBorins
Copy link
Contributor

Here is an ABI-Smoker job being run against this current PR... it should break. If it works... we have a problem

https://ci.nodejs.org/view/Node.js-citgm/job/citgm-abi-smoker/39/

@refack
Copy link
Contributor

refack commented Sep 14, 2017

This one is because we do not support building addons with VS2013 anymore. We need to stop testing this on Node >=9.0.0.

@targos do you think the problems on VS_VERSION=vs2015-x86,label=win2008r2 is a bug in the build script?

@joaocgreis
Copy link
Member

I'll update CI to not use VS2013 for Node 9.

@MylesBorins
Copy link
Contributor

@mhdawson any idea why ci is breaking during gsync?

@targos
Copy link
Member Author

targos commented Sep 18, 2017

Updated and removed the V8 backports. I think some of them still need to be merged to 6.2?

@addaleax
Copy link
Member

@targos Which ones? If you’re talking about the ones from #15391, yeah, as internal refactoring + an API change I don’t think they would be eligible for merging into 6.2. Feel free to ask for it if you think otherwise…

@targos
Copy link
Member Author

targos commented Sep 18, 2017

I'm talking about the ones linked in #15362 (comment)

@targos
Copy link
Member Author

targos commented Sep 19, 2017

@addaleax I cherry-picked 8403d6b#diff-ff06109b32824fc20fec697f584a42e3 to this PR. Your other cherry-pick is already in 6.2.

@targos
Copy link
Member Author

targos commented Sep 19, 2017

Does anyone have an idea about how we can fix the error with Clang?

@MylesBorins
Copy link
Contributor

CI: https://ci.nodejs.org/job/node-test-pull-request/10137/
V8-CI: https://ci.nodejs.org/job/node-test-commit-v8-linux/916/

Haven't seen clang errors yet, perhaps they'll surface in above jobs

@targos
Copy link
Member Author

targos commented Sep 19, 2017

You can see the error in the FreeBSD job. OSX is still pending.

@joaocgreis
Copy link
Member

CI changed to not run Node >=9 on VS2013. This fixed the Windows issue in this PR. Here is a Windows CI run: https://ci.nodejs.org/job/node-test-commit-windows-fanned/11804/

@vsemozhetbyt
Copy link
Contributor

MylesBorins pushed a commit to targos/node that referenced this pull request Feb 7, 2018
With V8 6.2 there is one line less in the promise trace.

PR-URL: nodejs#15362
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
MylesBorins pushed a commit to targos/node that referenced this pull request Feb 7, 2018
PR-URL: nodejs#15362
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
MylesBorins pushed a commit to targos/node that referenced this pull request Feb 7, 2018
PR-URL: nodejs#15362
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
MylesBorins pushed a commit to targos/node that referenced this pull request Feb 7, 2018
Original commit message:

    avoid constructor inheritance due to compilation issues

    Constructor inheritance of a templated constructor is causing compilation issues for node.js:

    https: //github.com/nodejs/pull/15362#issue-257007421
    Change-Id: I7d099ff5a1a2fd5b19c11112ddef8fe824e509f7
    Reviewed-on: https://chromium-review.googlesource.com/707008
    Commit-Queue: Tobias Tebbi <[email protected]>
    Commit-Queue: Benedikt Meurer <[email protected]>
    Reviewed-by: Benedikt Meurer <[email protected]>
    Cr-Commit-Position: refs/heads/master@{#48445}

Refs: v8/v8@0f1dfae
PR-URL: nodejs#15362
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
gibfahn pushed a commit that referenced this pull request Feb 18, 2018
With V8 6.2 there is one line less in the promise trace.

PR-URL: #15362
Backport-PR-URL: #16413
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
gibfahn pushed a commit that referenced this pull request Feb 18, 2018
PR-URL: #15362
Backport-PR-URL: #16413
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
gibfahn pushed a commit that referenced this pull request Feb 18, 2018
PR-URL: #15362
Backport-PR-URL: #16413
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
gibfahn pushed a commit that referenced this pull request Feb 18, 2018
Original commit message:

    avoid constructor inheritance due to compilation issues

    Constructor inheritance of a templated constructor is causing compilation issues for node.js:

    https: //github.com//pull/15362#issue-257007421
    Change-Id: I7d099ff5a1a2fd5b19c11112ddef8fe824e509f7
    Reviewed-on: https://chromium-review.googlesource.com/707008
    Commit-Queue: Tobias Tebbi <[email protected]>
    Commit-Queue: Benedikt Meurer <[email protected]>
    Reviewed-by: Benedikt Meurer <[email protected]>
    Cr-Commit-Position: refs/heads/master@{#48445}

Refs: v8/v8@0f1dfae
PR-URL: #15362
Backport-PR-URL: #16413
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
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.