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

Issue 2285723002: Use DWARF 3 on android, instead of DWARF 4. (Closed)

Created:
4 years, 3 months ago by Torne
Modified:
4 years, 3 months ago
CC:
chromium-reviews, mithro-old, Yuta Kitamura
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use DWARF 3 on android, instead of DWARF 4. Breakpad dump_syms cannot currently parse DWARF 4 binaries correctly, and omits some information in the generated breakpad symbols (such as parameter lists of functions). This problem is significantly worse when using symbol_level=1, as with -g1 in DWARF 4, Breakpad has even more difficulty. DWARF 4 has been the default since gcc 4.8. Explicitly switch back to DWARF 3 for now until Breakpad is able to parse DWARF 4 correctly. BUG=638485 Committed: https://crrev.com/2e5abf9dbb5947b21921e2b46dba8f44d0db4e7c Cr-Commit-Position: refs/heads/master@{#416614}

Patch Set 1 #

Patch Set 2 : attempt to fix nacl, and comment it explaining what's going on #

Patch Set 3 : Restrict to just android, and fix arg order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M build/config/compiler/BUILD.gn View 1 2 2 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 54 (29 generated)
Torne
Not sure what other effects this might have - does this work with debug fission? ...
4 years, 3 months ago (2016-08-26 13:45:27 UTC) #2
Primiano Tucci (use gerrit)
I dunno anything about Debug Fission but some of the doc in https://gcc.gnu.org/wiki/DebugFission seems to ...
4 years, 3 months ago (2016-08-26 13:59:25 UTC) #5
Primiano Tucci (use gerrit)
CC-ing bunch of folks who might know about dwarf and debug fission
4 years, 3 months ago (2016-08-26 14:03:15 UTC) #6
Mark Mentovai
I support this, but the trybots don’t in the current state. It seems that at ...
4 years, 3 months ago (2016-08-26 20:13:31 UTC) #9
Torne
Separated it out to not apply to nacl compilation and most of the bots are ...
4 years, 3 months ago (2016-08-31 14:54:01 UTC) #14
Primiano Tucci (use gerrit)
go/mabug? Not sure how to get access to goma logs on those bots. I'd ask ...
4 years, 3 months ago (2016-08-31 15:00:27 UTC) #15
Torne
On 2016/08/31 15:00:27, Primiano Tucci wrote: > go/mabug? Not sure how to get access to ...
4 years, 3 months ago (2016-08-31 15:03:12 UTC) #16
Torne
Nope, still dying on retries. This is very weird..
4 years, 3 months ago (2016-08-31 17:14:46 UTC) #21
Primiano Tucci (use gerrit)
On 2016/08/31 17:14:46, Torne wrote: > Nope, still dying on retries. This is very weird.. ...
4 years, 3 months ago (2016-08-31 17:41:34 UTC) #22
Torne
OK, it's just hitting the two hour tryjob timeout, because changing a global compiler flag ...
4 years, 3 months ago (2016-09-01 10:22:14 UTC) #24
Torne
On 2016/09/01 10:22:14, Torne wrote: > OK, it's just hitting the two hour tryjob timeout, ...
4 years, 3 months ago (2016-09-02 18:18:15 UTC) #25
scottmg
On 2016/09/01 10:22:14, Torne wrote: > OK, it's just hitting the two hour tryjob timeout, ...
4 years, 3 months ago (2016-09-02 18:20:01 UTC) #27
Primiano Tucci (use gerrit)
On 2016/09/02 18:20:01, scottmg wrote: > On 2016/09/01 10:22:14, Torne wrote: > > OK, it's ...
4 years, 3 months ago (2016-09-02 18:43:58 UTC) #28
Torne
Local experimentation unfortunately makes it look like: 1) dwarf3 building takes significantly longer 2) it ...
4 years, 3 months ago (2016-09-05 15:19:59 UTC) #29
Torne
Okay, so some experimentation has resulted in "there's an argument parsing bug in gcc", which ...
4 years, 3 months ago (2016-09-05 17:09:12 UTC) #30
Torne
Okay, new CL uploaded, folks can take a look while I do another dry run ...
4 years, 3 months ago (2016-09-05 17:18:42 UTC) #31
Torne
Whoops, still had a NOTRY=true in there because I was way too optimistic about my ...
4 years, 3 months ago (2016-09-05 17:24:22 UTC) #37
Torne
OK, this now doesn't murder the cq (yay!) and only affects Android. Thanks to the ...
4 years, 3 months ago (2016-09-06 10:29:52 UTC) #43
Primiano Tucci (use gerrit)
ok this looks better to me. re-LGTM. So far we have one gold-linker bug, one ...
4 years, 3 months ago (2016-09-06 10:35:48 UTC) #44
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/2285723002/40001
4 years, 3 months ago (2016-09-06 10:59:15 UTC) #47
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-06 11:02:02 UTC) #49
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/2e5abf9dbb5947b21921e2b46dba8f44d0db4e7c Cr-Commit-Position: refs/heads/master@{#416614}
4 years, 3 months ago (2016-09-06 11:04:06 UTC) #51
Torne
Filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77497 about the unexpected argument-order dependency here :)
4 years, 3 months ago (2016-09-06 14:43:44 UTC) #52
Lei Zhang
On 2016/09/06 14:43:44, Torne wrote: > Filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77497 about the unexpected > argument-order dependency here ...
4 years, 3 months ago (2016-09-06 15:37:17 UTC) #53
Torne
4 years, 3 months ago (2016-09-08 15:04:12 UTC) #54
Message was sent while issue was closed.
On 2016/09/06 15:37:17, Lei Zhang wrote:
> On 2016/09/06 14:43:44, Torne wrote:
> > Filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77497 about the
unexpected
> > argument-order dependency here :)
> 
> Did you file a Breakpad bug to support DWARF 4? e.g. we also need it to dump
> symbols for system libraries on modern Linux distros.
> https://bugs.chromium.org/p/google-breakpad/issues/list

I've just filed https://bugs.chromium.org/p/google-breakpad/issues/detail?id=715
for this.

Powered by Google App Engine
This is Rietveld 408576698