Closed
Bug 774284
Opened 12 years ago
Closed 12 years ago
Add a way to dump symbols for Gonk libraries
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(blocking-basecamp:-)
RESOLVED
FIXED
blocking-basecamp | - |
People
(Reporter: ted, Assigned: ted)
References
Details
Attachments
(1 file, 1 obsolete file)
835 bytes,
patch
|
Details | Diff | Splinter Review |
If we're going to upload symbols for B2G builds, we should upload the symbols from the gonk system libs as well. It should be straightforward to run the symbolstore.py script on the unstripped binaries. We probably want some sort of top-level build target that does that and also runs "make buildsymbols" in the Gecko objdir as well, to pack them into one big symbol package.
Comment 1•12 years ago
|
||
We should be able to capture symbols for most of gonk too right?
Assignee | ||
Comment 2•12 years ago
|
||
Anything that we build as part of the B2G build we should be able to dump symbols for. I'm mostly interested in bionic and other system libraries that are likely to show up in crash reports.
Assignee | ||
Comment 3•12 years ago
|
||
This is a work in progress. It produces usable symbols for me, but I need to think through more of the details. This is going to interact with bug 774780 as well.
Assignee: nobody → ted.mielczarek
Status: NEW → ASSIGNED
Updated•12 years ago
|
blocking-basecamp: --- → ?
Comment 4•12 years ago
|
||
Might be blocker for Soccorro, but not for the B2G eng deliverable, blocking-.
blocking-basecamp: ? → -
Comment 5•12 years ago
|
||
Ted - Do we need this to have usable crash reports for Firefox OS in Socorro? Would this be built into the Firefox OS implementation?
This is work for our build / server infra, not core gecko. In other words, the code to implement this would not ship with b2g phones themselves. If the crashreporter/socorro team is tracking blocking-basecamp/k9o bugs here, then it may be appropriate to mark blocking wrt that team.
Assignee | ||
Comment 7•12 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #5) > Ted - Do we need this to have usable crash reports for Firefox OS in > Socorro? Would this be built into the Firefox OS implementation? We do need this to have usable crash reports, but this is something that happens at build-time, not something that ships with the product.
Comment 8•12 years ago
|
||
So is this bug in the right product/component?
Assignee | ||
Comment 9•12 years ago
|
||
The work needs to be done in the B2G repos, probably gonk-misc, not in Gecko, which is why I stuck it here. If you think it belongs elsewhere I have no objections.
Comment 10•12 years ago
|
||
Hey Ted, how's this coming along?
Assignee | ||
Comment 11•12 years ago
|
||
I haven't had any time to work on this, I've been working on the pandaboard reimaging service for Android/B2G automation.
Assignee | ||
Comment 12•12 years ago
|
||
Sent a pull request for a very simple first cut of this (just forwarding to the existing Gecko targets): https://github.com/mozilla-b2g/gonk-misc/pull/42 This is to unblock RelEng and let us get some symbols for dogfood builds.
Assignee | ||
Comment 13•12 years ago
|
||
That PR got merged: https://github.com/luser/gonk-misc/commit/772591c5c2940a1af4d911b04e9d6f1b4e2eed1a I'm going to keep this bug open for the more complete implementation which will also dump symbols from Gonk system libraries.
Assignee | ||
Comment 14•12 years ago
|
||
This takes a simpler approach, building on top of the PR I mentioned above. It just uses the existing logic in the Gecko Makefiles, but passes some additional info.
Attachment #643080 -
Attachment is obsolete: true
Assignee | ||
Comment 15•12 years ago
|
||
I simplified that even further and submitted a new PR: https://github.com/mozilla-b2g/gonk-misc/pull/50
Assignee | ||
Comment 16•12 years ago
|
||
Merged, I'm going to call this fixed for now: https://github.com/mozilla-b2g/gonk-misc/commit/bd86cbf26e138eb9b8b9bfd2a6d1bbfc94864753 I'll sort out getting source info in a followup.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•