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: backport c0f1ff2 from upstream V8 #13517

Closed
wants to merge 1 commit into from

Conversation

targos
Copy link
Member

@targos targos commented Jun 7, 2017

Porting #12392 to V8 5.9

Ref: #12392
Fixes: #10388

/cc @nodejs/v8 @bnoordhuis @octoploid

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

V8

@bnoordhuis
Copy link
Member

If it's still an issue, it should be fixed upstream first.

@octoploid
Copy link

Well, the standard upstream response is: »Do we care about gcc?«

@gibfahn
Copy link
Member

gibfahn commented Jun 7, 2017

Well, the standard upstream response is: »Do we care about gcc?«

Isn't V8 built with gcc by default on some platforms?

cc/ @nodejs/v8

@bnoordhuis
Copy link
Member

Yes, there is at least one gcc buildbot, although it probably uses gcc 6, not 7.

@mscdex mscdex added the build Issues and PRs related to build files or the CI. label Jun 7, 2017
@octoploid
Copy link

@targos
Copy link
Member Author

targos commented Jun 12, 2017

Trying to upstream the change: https://chromium-review.googlesource.com/c/530227/

/cc @fhinkel

jasnell
jasnell previously approved these changes Jun 13, 2017
@targos
Copy link
Member Author

targos commented Jun 19, 2017

I'm still waiting for a review upstream.

@bnoordhuis
Copy link
Member

Maybe pick another reviewer?

@targos
Copy link
Member Author

targos commented Jun 20, 2017

@octoploid @bnoordhuis Could you please take a look at my last patch: https://chromium-review.googlesource.com/c/530227/3
I'd like to make sure I got this hash-table-inl.h thing right and that I did not reintroduce a cycle.

@octoploid
Copy link

octoploid commented Jun 20, 2017

Please post an updated patch for Node.js.

@bnoordhuis
Copy link
Member

@octoploid It's going upstream first before it goes into node.

@targos Left a comment on the CL.

@octoploid
Copy link

@bnoordhuis: Sure, it is just that I don't have v8 (or chromium) installed on my test machines.
So it would be much easier for me to test the patch for node.js.

@bnoordhuis
Copy link
Member

@octoploid Just git apply --directory=deps/v8 it.

@targos
Copy link
Member Author

targos commented Jun 20, 2017

The change landed on V8 master: v8/v8@c0f1ff2

I will update this PR with a backport

@targos targos changed the title v8: fix gcc 7 build errors deps: backport c0f1ff2 from upstream V8 Jun 20, 2017
Original commit message:

    Fix GCC 7 build errors

    BUG=chromium:691681
    R=franzih@chromium.org

    Change-Id: Id7e5698487f16dc217a804f6d3f24da7213c72b9
    Reviewed-on: https://chromium-review.googlesource.com/530227
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{nodejs#46045}

Fixes: nodejs#10388
@targos
Copy link
Member Author

targos commented Jun 20, 2017

Updated to a backport. PTAL.

@octoploid
Copy link

Works fine. Thanks.

@targos
Copy link
Member Author

targos commented Jun 22, 2017

targos added a commit to targos/node that referenced this pull request Jun 23, 2017
Original commit message:

    Fix GCC 7 build errors

    BUG=chromium:691681
    R=franzih@chromium.org

    Change-Id: Id7e5698487f16dc217a804f6d3f24da7213c72b9
    Reviewed-on: https://chromium-review.googlesource.com/530227
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{nodejs#46045}

PR-URL: nodejs#13517
Fixes: nodejs#10388
Refs: nodejs#12392
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@targos
Copy link
Member Author

targos commented Jun 23, 2017

Landed in 0ba74db

@targos targos closed this Jun 23, 2017
@targos targos deleted the fix-gcc-7-v8-59 branch June 23, 2017 08:15
MylesBorins pushed a commit to MylesBorins/node that referenced this pull request Aug 1, 2017
Original commit message:

    Fix GCC 7 build errors

    BUG=chromium:691681
    R=franzih@chromium.org

    Change-Id: Id7e5698487f16dc217a804f6d3f24da7213c72b9
    Reviewed-on: https://chromium-review.googlesource.com/530227
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{nodejs#46045}

PR-URL: nodejs#13517
Fixes: nodejs#10388
Refs: nodejs#12392
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
MylesBorins pushed a commit to MylesBorins/node that referenced this pull request Aug 1, 2017
Original commit message:

    Fix GCC 7 build errors

    BUG=chromium:691681
    R=franzih@chromium.org

    Change-Id: Id7e5698487f16dc217a804f6d3f24da7213c72b9
    Reviewed-on: https://chromium-review.googlesource.com/530227
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{nodejs#46045}

Refs: nodejs#13517
Fixes: nodejs#10388
Refs: nodejs#12392

PR-URL: nodejs#14004
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins pushed a commit that referenced this pull request Aug 1, 2017
Original commit message:

    Fix GCC 7 build errors

    BUG=chromium:691681
    R=franzih@chromium.org

    Change-Id: Id7e5698487f16dc217a804f6d3f24da7213c72b9
    Reviewed-on: https://chromium-review.googlesource.com/530227
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46045}

Refs: #13517
Fixes: #10388
Refs: #12392

PR-URL: #14004
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
addaleax pushed a commit that referenced this pull request Aug 2, 2017
Original commit message:

    Fix GCC 7 build errors

    BUG=chromium:691681
    R=franzih@chromium.org

    Change-Id: Id7e5698487f16dc217a804f6d3f24da7213c72b9
    Reviewed-on: https://chromium-review.googlesource.com/530227
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Reviewed-by: Toon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46045}

Refs: #13517
Fixes: #10388
Refs: #12392

Backport-PR-URL: #14574
Backport-Reviewed-By: Anna Henningsen <anna@addaleax.net>
Backport-Reviewed-By: Refael Ackermann <refack@gmail.com>

PR-URL: #14004
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants