Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Issue 993173003: Fix the toolchain used to build the snapshots in GN. (Closed)

Created:
5 years, 9 months ago by Dirk Pranke
Modified:
5 years, 9 months ago
CC:
Nico, v8-dev, Michael Hablich, Dmitry Lomov (no reviews), vogelheim, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix the toolchain used to build the snapshots in GN. We need the v8 snapshot to be compiled on the host cpu (the machine doing the build), but using generated code that has the same pointer size as the target_arch; i.e., for 32-bit arm builds, we need to use a 32-bit x86 host binary, not a 64-bit host binary. The easiest way to ensure that this happens is to just specify a custom toolchain in GN to use to build the snapshot. R=jochen@chromium.org, cjhopman@chromium.org BUG=465456, 395249 LOG=Y Committed: https://crrev.com/ad5630db87be2da6865ff17989b455791b6c152d Cr-Commit-Position: refs/heads/master@{#27142}

Patch Set 1 #

Patch Set 2 : fix snapshot_toolchain for non-android builds #

Total comments: 8

Patch Set 3 : update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
M BUILD.gn View 1 2 4 chunks +21 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (3 generated)
Dirk Pranke
I'm not yet sure that this is right; I haven't yet figured out a way ...
5 years, 9 months ago (2015-03-10 23:54:54 UTC) #2
Nico
I don't know much about this, but !is_clang is still used by cros (which uses ...
5 years, 9 months ago (2015-03-11 13:47:48 UTC) #3
sky
On 2015/03/10 23:54:54, Dirk Pranke wrote: > I'm not yet sure that this is right; ...
5 years, 9 months ago (2015-03-11 15:53:15 UTC) #4
jochen (gone - plz use gerrit)
lgtm with comments assuming it works :) https://codereview.chromium.org/993173003/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/993173003/diff/20001/BUILD.gn#newcode22 BUILD.gn:22: # TODO(GYP): ...
5 years, 9 months ago (2015-03-11 16:10:31 UTC) #5
Dirk Pranke
https://codereview.chromium.org/993173003/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/993173003/diff/20001/BUILD.gn#newcode22 BUILD.gn:22: # TODO(GYP): We should be just target_cpu and not ...
5 years, 9 months ago (2015-03-11 16:53:30 UTC) #6
jochen (gone - plz use gerrit)
https://codereview.chromium.org/993173003/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/993173003/diff/20001/BUILD.gn#newcode32 BUILD.gn:32: if (target_os == "android" || target_os == "chromeos") { ...
5 years, 9 months ago (2015-03-11 18:32:28 UTC) #7
Dirk Pranke
https://codereview.chromium.org/993173003/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/993173003/diff/20001/BUILD.gn#newcode32 BUILD.gn:32: if (target_os == "android" || target_os == "chromeos") { ...
5 years, 9 months ago (2015-03-11 18:56:10 UTC) #8
jochen (gone - plz use gerrit)
https://codereview.chromium.org/993173003/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/993173003/diff/20001/BUILD.gn#newcode32 BUILD.gn:32: if (target_os == "android" || target_os == "chromeos") { ...
5 years, 9 months ago (2015-03-11 18:58:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/993173003/40001
5 years, 9 months ago (2015-03-11 21:10:52 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-11 21:55:49 UTC) #13
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/ad5630db87be2da6865ff17989b455791b6c152d Cr-Commit-Position: refs/heads/master@{#27142}
5 years, 9 months ago (2015-03-11 21:56:09 UTC) #14
Michael Achenbach
This breaks/blocks the current v8 roll on linux_chromium_gn_chromeos_rel: https://codereview.chromium.org/1005483003/ Do you have a quick fix ...
5 years, 9 months ago (2015-03-12 17:21:24 UTC) #15
Dirk Pranke
On 2015/03/12 17:21:24, Michael Achenbach (travelling) wrote: > This breaks/blocks the current v8 roll on ...
5 years, 9 months ago (2015-03-12 17:41:49 UTC) #16
Dirk Pranke
> Ah, right, my change would break a 64-bit x86 chromeos build (which is what ...
5 years, 9 months ago (2015-03-12 17:42:11 UTC) #17
Michael Achenbach
What action do you suggest? Fix or revert? Do you have a fix ready? Someone ...
5 years, 9 months ago (2015-03-12 20:23:25 UTC) #18
Dirk Pranke
On 2015/03/12 20:23:25, Michael Achenbach (travelling) wrote: > What action do you suggest? Fix or ...
5 years, 9 months ago (2015-03-12 20:48:28 UTC) #19
Michael Achenbach
On 2015/03/12 20:48:28, Dirk Pranke wrote: > On 2015/03/12 20:23:25, Michael Achenbach (travelling) wrote: > ...
5 years, 9 months ago (2015-03-12 21:08:55 UTC) #20
yangguo
5 years, 9 months ago (2015-03-12 21:09:24 UTC) #21
Message was sent while issue was closed.
On 2015/03/12 20:48:28, Dirk Pranke wrote:
> On 2015/03/12 20:23:25, Michael Achenbach (travelling) wrote:
> > What action do you suggest? Fix or revert? Do you have a fix ready?
> > 
> > Someone closed the ongoing V8 roll (I don't know with which intention).
> 
> I thought yangguo and jochen answered this somewhere; the fix landed in
> https://codereview.chromium.org/874393007 .

I closed the roll CL in the hope that autoroll would kick in again. However it
didn't.

Powered by Google App Engine
This is Rietveld 408576698