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

Issue 226613005: add a linux_use_debug_fission gyp variable for -gsplit-dwarf (Closed)

Created:
6 years, 8 months ago by Mostyn Bramley-Moore
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

add a linux_use_debug_fission gyp variable for -gsplit-dwarf Since -gsplit-dwarf breaks some extremely useful build tools (eg ccache and icecc), it deserves its own gyp variable. This setting replaces the previous hack, setting binutils_version=0. Background: ccache: https://bugzilla.samba.org/show_bug.cgi?id=10005 icecc: https://github.com/icecc/icecream/issues/86 BUG=352046 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267381

Patch Set 1 #

Patch Set 2 : move things around to avoid variable scope errors #

Patch Set 3 : rebase on master #

Patch Set 4 : add some comments #

Total comments: 5

Patch Set 5 : remove chromeos==0 check #

Total comments: 4

Patch Set 6 : check linux_use_gold_flags==1 too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -3 lines) Patch
M build/common.gypi View 1 2 3 4 5 3 chunks +16 lines, -3 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
Mostyn Bramley-Moore
@Nico: I think this -gsplit-dwarf deserves its own flag, PTAL...
6 years, 8 months ago (2014-04-05 08:58:19 UTC) #1
dshwang
non-owner lgtm. I currently use binutils_version=0 hack for icecc. fyi, icecc and ccache gave up ...
6 years, 8 months ago (2014-04-05 11:11:12 UTC) #2
Nico
You can set binutils_version (spelling) to 0 to disable fission if you must. (At least ...
6 years, 8 months ago (2014-04-05 14:08:22 UTC) #3
Mostyn Bramley-Moore
On 2014/04/05 14:08:22, Nico wrote: > You can set binutils_version (spelling) to 0 to disable ...
6 years, 8 months ago (2014-04-05 14:31:19 UTC) #4
mithro-old
On 2014/04/05 14:31:19, Mostyn Bramley-Moore wrote: > On 2014/04/05 14:08:22, Nico wrote: > > You ...
6 years, 8 months ago (2014-04-05 15:00:31 UTC) #5
Mostyn Bramley-Moore
On 2014/04/05 15:00:31, mithro wrote: > My patch which does something similar is at > ...
6 years, 8 months ago (2014-04-05 16:07:36 UTC) #6
Nico
On Sat, Apr 5, 2014 at 7:31 AM, <mostynb@opera.com> wrote: > On 2014/04/05 14:08:22, Nico ...
6 years, 8 months ago (2014-04-05 18:33:51 UTC) #7
Mostyn Bramley-Moore
On 2014/04/05 18:33:51, Nico wrote: > On Sat, Apr 5, 2014 at 7:31 AM, <mailto:mostynb@opera.com> ...
6 years, 8 months ago (2014-04-06 19:30:33 UTC) #8
dshwang
After 9c23369f536c322bff69f24bdc853014b6f7beae, icecc needs more options; -Dlinux_use_bundled_gold=0 and -Dlinux_use_bundled_binutils=0 In my opinion, use_icecc or something ...
6 years, 8 months ago (2014-04-18 18:12:41 UTC) #9
dshwang
On 2014/04/18 18:12:41, dshwang_afk wrote: > After 9c23369f536c322bff69f24bdc853014b6f7beae, Above commit's CL is https://codereview.chromium.org/196573022
6 years, 8 months ago (2014-04-18 18:13:22 UTC) #10
dshwang
binutils_version began to be used in other places; https://code.google.com/p/chromium/codesearch#chromium/src/build/common.gypi&q=binutils_version&sq=package:chromium&type=cs&l=3875 my binutils_version=222 hack for icecc made ...
6 years, 8 months ago (2014-04-23 14:20:25 UTC) #11
Mostyn Bramley-Moore
Updated this CL based on discussions in https://codereview.chromium.org/249443002/ @dshwang, Chris: does this work for your ...
6 years, 8 months ago (2014-04-25 21:28:08 UTC) #12
Mostyn Bramley-Moore
https://codereview.chromium.org/226613005/diff/60001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/226613005/diff/60001/build/common.gypi#newcode761 build/common.gypi:761: ['OS=="linux" and target_arch=="x64" and chromeos==0', { I'm not sure ...
6 years, 8 months ago (2014-04-25 21:28:14 UTC) #13
dshwang
> @dshwang, Chris: does this work for your build setup too? Works well. Thank you. ...
6 years, 8 months ago (2014-04-26 15:21:19 UTC) #14
dshwang
IMO it's better to point out links in description, which both build tools give up ...
6 years, 8 months ago (2014-04-26 15:26:37 UTC) #15
Mostyn Bramley-Moore
Updated the description. https://codereview.chromium.org/226613005/diff/60001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/226613005/diff/60001/build/common.gypi#newcode761 build/common.gypi:761: ['OS=="linux" and target_arch=="x64" and chromeos==0', { ...
6 years, 8 months ago (2014-04-27 17:59:48 UTC) #16
dshwang
On 2014/04/27 17:59:48, Mostyn Bramley-Moore wrote: > https://codereview.chromium.org/226613005/diff/60001/build/common.gypi#newcode3905 > build/common.gypi:3905: ['binutils_version>=223', { > On 2014/04/26 ...
6 years, 8 months ago (2014-04-27 18:10:19 UTC) #17
Lei Zhang
IMO we should have a variable like this. It is much clearer than setting binutils_version=0. ...
6 years, 7 months ago (2014-04-29 07:28:14 UTC) #18
Mostyn Bramley-Moore
https://codereview.chromium.org/226613005/diff/80001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/226613005/diff/80001/build/common.gypi#newcode3213 build/common.gypi:3213: ['linux_use_debug_fission==1 and (clang==1 or gcc_version>=48) and binutils_version>=223', { On ...
6 years, 7 months ago (2014-04-29 07:37:31 UTC) #19
Lei Zhang
https://codereview.chromium.org/226613005/diff/80001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/226613005/diff/80001/build/common.gypi#newcode3213 build/common.gypi:3213: ['linux_use_debug_fission==1 and (clang==1 or gcc_version>=48) and binutils_version>=223', { On ...
6 years, 7 months ago (2014-04-29 08:18:24 UTC) #20
Mostyn Bramley-Moore
https://codereview.chromium.org/226613005/diff/80001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/226613005/diff/80001/build/common.gypi#newcode3213 build/common.gypi:3213: ['linux_use_debug_fission==1 and (clang==1 or gcc_version>=48) and binutils_version>=223', { On ...
6 years, 7 months ago (2014-04-29 08:56:22 UTC) #21
Nico
If thestig and mithro are happy with this, lgtm
6 years, 7 months ago (2014-04-30 19:52:11 UTC) #22
Lei Zhang
lgtm
6 years, 7 months ago (2014-04-30 19:54:38 UTC) #23
Mostyn Bramley-Moore
On 2014/04/30 19:52:11, Nico wrote: > If thestig and mithro are happy with this, lgtm ...
6 years, 7 months ago (2014-04-30 19:59:18 UTC) #24
Mostyn Bramley-Moore
The CQ bit was checked by mostynb@opera.com
6 years, 7 months ago (2014-04-30 19:59:32 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/226613005/90001
6 years, 7 months ago (2014-04-30 20:02:59 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 20:55:57 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium
6 years, 7 months ago (2014-04-30 20:55:58 UTC) #28
Mostyn Bramley-Moore
The CQ bit was checked by mostynb@opera.com
6 years, 7 months ago (2014-04-30 20:59:48 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/226613005/90001
6 years, 7 months ago (2014-04-30 21:01:08 UTC) #30
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 23:42:36 UTC) #31
Message was sent while issue was closed.
Change committed as 267381

Powered by Google App Engine
This is Rietveld 408576698