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.414.44 #16848

Closed
wants to merge 1 commit into from
Closed

Conversation

MylesBorins
Copy link
Contributor

@MylesBorins MylesBorins commented Nov 6, 2017

Refs: v8/v8@6.2.414.32...6.2.414.44

If CI + V8-CI are green I think we should fast track to include this in tomorrow's 9.x release

@nodejs-github-bot nodejs-github-bot added the v8 engine Issues and PRs related to the V8 dependency. label Nov 6, 2017
@MylesBorins
Copy link
Contributor Author

@refack
Copy link
Contributor

refack commented Nov 6, 2017

This doesn't build on windows (#16513).
I can float a patch to fix that

@MylesBorins
Copy link
Contributor Author

@refack please feel free to push it to this branch

@refack
Copy link
Contributor

refack commented Nov 6, 2017

@MylesBorins
Copy link
Contributor Author

MylesBorins commented Nov 6, 2017

@refack can you bump the V8 embedder string in https://github.com/nodejs/node/blob/master/common.gypi#L30

I have really mixed feelings about landing an unreviewed patch into V8. Has this patch landed upstream in gyp?

/cc @nodejs/v8

@refack
Copy link
Contributor

refack commented Nov 6, 2017

I have really mixed feelings about landing an unreviewed patch into V8. Has this patch landed upstream in gyp?

/cc @nodejs/v8

It's not a change in GYP it's a fix on the .gyp V8 specific scaffolding, and it only changes the way a certain .json files is created WRT " escaping, so IMHO if CI compiles, it's good.
But good to get a looks-good from @nodejs/gyp or @nodejs/python (on bfc9ad1)

@MylesBorins
Copy link
Contributor Author

@refack we've been trying to avoid floating things on V8 if at all possible. is there a reason to not send this upstream? (we can still float this for now, but revert / update if it lands upstream)

@MylesBorins
Copy link
Contributor Author

Opted to rerun full CI
https://ci.nodejs.org/job/node-test-pull-request/11237/

@refack
Copy link
Contributor

refack commented Nov 6, 2017

@refack we've been trying to avoid floating things on V8 if at all possible. is there a reason to not send this upstream? (we can still float this for now, but revert / update if it lands upstream)

The plan is to upstream, just reprioritized (though I had more time till next V8 bump)

@refack
Copy link
Contributor

refack commented Nov 6, 2017

we've been trying to avoid floating things on V8 if at all possible. is there a reason to not send this upstream? (we can still float this for now, but revert / update if it lands upstream)

BTW, as far as I understand this is exactly the bits that are going to be handed over to us once V8 drop GYP support completely in two months (nodejs/CTC#76 (comment)). Opening an issue to discuss that nodejs/TSC#411.

v8_embedder_string bumped.

@MylesBorins
Copy link
Contributor Author

MylesBorins commented Nov 7, 2017

@maclover7 arm-fanned completely failed in this one but the above report is all green

https://ci.nodejs.org/job/node-test-pull-request/11237/

/cc @nodejs/platform-arm any idea what is going on here?

one more build of arm in case this was infra: https://ci.nodejs.org/job/node-test-commit-arm-fanned/12354/

@MylesBorins
Copy link
Contributor Author

It seems like the gcc / clang on our arm machines is too old for this update 😅

WARNING: C++ compiler too old, need g++ 4.9.4 or clang++ 3.4.2 (CXX=ccache /opt/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -march=armv6zk)

@rvagg
Copy link
Member

rvagg commented Nov 7, 2017

We're kind of screwed then. See nodejs/build#829 for further discussion. The way forward with this is probably to switch to building on Debian 8 (Jessie) or Ubuntu 14.04 depending on what we can get our hands on. That would mean pulling in Pi3's to do releases for ARMv6 and extra machines on Scaleway for ARMv7 which could be a problem given our limit there. We're locked in to using what we have for Node 4,6,8 for their lifetime however so this is an awkward complication.

@refack
Copy link
Contributor

refack commented Nov 7, 2017

I'm not sure. That message is just a warning from ./configure.
I'm backporting a patch from upstream related to the GN to GYP code I've fixed for windows.

@refack
Copy link
Contributor

refack commented Nov 7, 2017

Test build seems to work. Kicked off a new CI: https://ci.nodejs.org/job/node-test-commit/13801/

@rvagg
Copy link
Member

rvagg commented Nov 7, 2017

I'd like to hear if there are any breakages or if that warning is just a heads-up. I've noted over in nodejs/build#829 that we should probably drop support for Wheezy & 12.04 in Node 10 which would alleviate this problem. The headache would come if V8 6.2 had problems with gcc 4.9 and we wanted to include it with Node 8. What's the status of that discussion btw?

@rvagg
Copy link
Member

rvagg commented Nov 7, 2017

@refack looks good 👍

Copy link
Contributor

@ofrobots ofrobots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Commits from @refack should be squashed, or if that is not desired, each of the fixes should get its own patch-level bump (which should be squashed with the fix).

@Trott
Copy link
Member

Trott commented Nov 7, 2017

CI has been a bit odd tonight, but this looks good except for an AIX failure that is probably unrelated. Likely worth a re-run though.

CI on AIX only: https://ci.nodejs.org/job/node-test-commit-aix/10058/

@MylesBorins
Copy link
Contributor Author

@refack which upstream did that commit come from? We should include the meta data

@targos
Copy link
Member

targos commented Nov 7, 2017

I'm backporting a patch from upstream related to the GN to GYP code I've fixed for windows.

Please include the metadata of that commit. Example of V8 backport: c087502

@refack
Copy link
Contributor

refack commented Nov 7, 2017

On the other hand, it seems it will be Node.js who is going to have to maintain this, and IMO this workaround is messy.

I agree the whole pass-arguments-to-python-just-to-save-a-JSON is too cumbersome and error prone. IMHO simplest solution is to format the JSON in the .gyp and save as is.

@Trott
Copy link
Member

Trott commented Nov 8, 2017

@MylesBorins
Copy link
Contributor Author

MylesBorins commented Nov 9, 2017

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

@nodejs/v8 do you see any reasons to not include this windows fix for gyp?

I've opened upstream issues regarding the failures

issue to backport arm fix to 6.2 and 6.3: https://bugs.chromium.org/p/v8/issues/detail?id=7060
issue to track windows breakage: https://bugs.chromium.org/p/v8/issues/detail?id=7061

@targos targos mentioned this pull request Nov 9, 2017
2 tasks
@MylesBorins
Copy link
Contributor Author

Backport was approved, I'm going to start making the merge requests

I've sent the windows fix upstream in https://chromium-review.googlesource.com/c/v8/v8/+/761477

@refack I kept you as the author :P

@MylesBorins
Copy link
Contributor Author

@MylesBorins
Copy link
Contributor Author

Backports and upstream windows fix have landed.

Submitted backport request for the windows fix: https://bugs.chromium.org/p/v8/issues/detail?id=7062

@MylesBorins MylesBorins changed the title deps: update V8 to 6.2.414.40 deps: update V8 to 6.2.414.42 Nov 9, 2017
@MylesBorins MylesBorins changed the title deps: update V8 to 6.2.414.42 [WIP] deps: update V8 to 6.2.414.42 Nov 9, 2017
@MylesBorins MylesBorins added the blocked PRs that are blocked by other issues or PRs. label Nov 9, 2017
@MylesBorins
Copy link
Contributor Author

I've gone ahead and rolled forward to 6.2.414.42 which includes the arm fix and floated the patch that landed upstream to fix windows.

Will update again once the window patch has landed on 6.2 and 6.3 and run the tests one more time.

please do not land yet

@fhinkel
Copy link
Member

fhinkel commented Nov 11, 2017

@MylesBorins I'm not comfortable merging gyp for Windows fix to stable (62). Is there a problem floating it here?

Edit: We should wait for at least 3 days of Canary coverage upstream before we merge, i.e., at least 2 more days.

@fhinkel
Copy link
Member

fhinkel commented Nov 13, 2017

I merged the "[gyp] Fix string escaping for GYP on Windows" fix to 6.2 (765954). We can remove the floating patch.

@MylesBorins MylesBorins changed the title [WIP] deps: update V8 to 6.2.414.42 deps: update V8 to 6.2.414.44 Nov 13, 2017
@MylesBorins
Copy link
Contributor Author

All the patches we were floating have been merged upstream

new CI: https://ci.nodejs.org/job/node-test-pull-request/11396/
V8: https://ci.nodejs.org/job/node-test-commit-v8-linux/1048/

Will land if green

@MylesBorins MylesBorins removed the blocked PRs that are blocked by other issues or PRs. label Nov 13, 2017
@MylesBorins MylesBorins mentioned this pull request Nov 13, 2017
@MylesBorins
Copy link
Contributor Author

landed in 14d24cc

MylesBorins added a commit that referenced this pull request Nov 13, 2017
Refs: v8/v8@6.2.414.32...6.2.414.44
PR-URL: #16848
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
evanlucas pushed a commit that referenced this pull request Nov 13, 2017
Refs: v8/v8@6.2.414.32...6.2.414.44
PR-URL: #16848
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
@MylesBorins MylesBorins deleted the update-v8 branch November 14, 2017 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.