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

Issue 2174873002: Disable compilation symbols on goma builds (Closed)

Created:
4 years, 5 months ago by brucedawson
Modified:
4 years, 5 months ago
Reviewers:
Dirk Pranke, brettw
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable compilation symbols on goma builds Goma builds necessarily don't use PDBs. That means that symbols have to be put in .obj files. This means that symbols get stored redundantly, which makes the job of the linker much harder - greatly increased linker working sets and greatly increased link times. gyp deals with this by disabling symbol generation in the compile stage for goma builds. gn has not been doing this, which has made gn goma builds *significantly* slower, unless symbol_level is explicitly set to 1. gyp has an override switch (win_z7) but it appears that nobody uses it so for now I am leaving it unimplemented in gn. BUG=630074 Committed: https://crrev.com/615601219acf13abf60ac400a5c07333da6fe897 Cr-Commit-Position: refs/heads/master@{#407251}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M build/config/compiler/BUILD.gn View 1 chunk +4 lines, -1 line 1 comment Download

Messages

Total messages: 21 (10 generated)
brettw
lgtm
4 years, 5 months ago (2016-07-22 17:40:55 UTC) #4
brucedawson
Adding Dirk because I want to make sure I'm not missing anything. This is a ...
4 years, 5 months ago (2016-07-22 17:43:46 UTC) #8
brucedawson
Note that this doesn't affect https://build.chromium.org/p/chromium/builders/Win/builds/45495 because it explicitly requests symbol_level = 1.
4 years, 5 months ago (2016-07-22 17:48:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2174873002/1
4 years, 5 months ago (2016-07-22 20:19:29 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-22 20:33:54 UTC) #14
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/615601219acf13abf60ac400a5c07333da6fe897 Cr-Commit-Position: refs/heads/master@{#407251}
4 years, 5 months ago (2016-07-22 20:37:13 UTC) #16
Dirk Pranke
https://codereview.chromium.org/2174873002/diff/1/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/2174873002/diff/1/build/config/compiler/BUILD.gn#newcode1493 build/config/compiler/BUILD.gn:1493: cflags = [] The implication of this change is ...
4 years, 5 months ago (2016-07-22 21:02:56 UTC) #17
brucedawson
> The implication of this change is that you can no longer get a full ...
4 years, 5 months ago (2016-07-22 21:42:06 UTC) #18
Dirk Pranke
On 2016/07/22 21:42:06, brucedawson wrote: > > The implication of this change is that you ...
4 years, 5 months ago (2016-07-22 22:03:34 UTC) #19
brucedawson
> Any objection to me switching things to my approach? No objections. I had considered ...
4 years, 5 months ago (2016-07-22 22:42:17 UTC) #20
Dirk Pranke
4 years, 5 months ago (2016-07-22 22:45:30 UTC) #21
Message was sent while issue was closed.
On 2016/07/22 22:42:17, brucedawson wrote:
> > Any objection to me switching things to my approach?
> 
> No objections. I had considered doing it that way but ended up with a weak
> preference for my solution.
> 
> I would consider following gyp's lead and adding a win_z7 option to override
> use_goma-implies-symbol_level==1

Yup, like I said I think we might need it for SyzygyASAN anyway.

Powered by Google App Engine
This is Rietveld 408576698