Closed
Bug 468622
Opened 16 years ago
Closed 15 years ago
Mac: generate breakpad .sym from dwarf symbols instead of stabs
Categories
(Thunderbird :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gozer, Assigned: gozer)
References
Details
Following Firefox bug 421534, we can now change CFLAGS="-gstabs -gfull -save-temps" to CFLAGS="-gdwarf-2" just like in attachemnt 351887
Assignee | ||
Comment 1•16 years ago
|
||
We have to wait for http://hg.mozilla.org/mozilla-central/rev/ede5b83266d3 to land on releases/mozilla-1.9.1 before we can do this. Should have mentionned it.
Assignee | ||
Comment 2•16 years ago
|
||
Landed in http://hg.mozilla.org/releases/mozilla-1.9.1/rev/2385ebb971f8
Assignee | ||
Comment 3•16 years ago
|
||
Upadted our mozconfigs in: changeset: 610:e8136d10509d tag: tip user: Philippe M. Chiasson <gozer@mozillamessaging.com> date: Mon Dec 22 13:56:11 2008 -0500 summary: Bug 468622. Switch symbol generation to dwarf-2 on OS X. r=me
Assignee | ||
Comment 4•16 years ago
|
||
Great, this is failing with the following ld error: ld: jslong.o r_address (0x10a9db) field of relocation entry 3 in section (__DWARFA,__debug_info) out of range
Assignee | ||
Comment 5•16 years ago
|
||
Backed out 610:e8136d10509d changeset: 612:0c6c1dbcb10f parent: 610:e8136d10509d user: Philippe M. Chiasson <gozer@mozillamessaging.com> date: Mon Dec 22 14:25:58 2008 -0500 summary: Bug 468622. Backing out Dwarf-2 support on OS X, it's causing breakage. r=me
Comment 6•16 years ago
|
||
Weird, sounds like an Apple GCC bug. I'd look to see if there's a newer version of Xcode available for 10.4 that might fix this. (Alternately, you could try to spin up some 10.5 build machines.)
Assignee | ||
Comment 7•16 years ago
|
||
I've had some promising success with XCode 2.5, so that might be the only upgrade that's needed. Running a full build with XCode 2.5/dwarf-2 right now, I'll report how it went once it completes.
Assignee | ||
Comment 8•15 years ago
|
||
A full, universal build with XCode 2.5 worked just fine, so the next step is upgrading XCode on the osx builders.
Assignee | ||
Comment 9•15 years ago
|
||
bm-xserve07 has been upgraded to XCode 2.5
Assignee | ||
Comment 10•15 years ago
|
||
XCode 2.5 clobber build completed successfully: Full log is here: http://tinderbox.mozilla.org/showlog.cgi?log=Thunderbird3.0/1230046312.1230052015.14767.gz&fulltext=1 It did have an impact on measured code size: mZdiff:+73732 (+106364/-32632) Full codesize log is here: http://build.mozillamessaging.com/buildbot/production/builders/MacOSX%2010.4%20comm-central%20build/builds/4585/steps/shell_20/logs/stdio
Assignee | ||
Comment 11•15 years ago
|
||
Re-enabled dwarf-2 support for Thunderbird dep/nightlies only: changeset: 615:c80750187b86 tag: tip user: Philippe M. Chiasson <gozer@mozillamessaging.com> date: Tue Dec 23 12:03:38 2008 -0500 summary: Bug 468622. Re-enable dwarf-2 debugging on OS X, now that we have XCode 2.5. r=me
Assignee | ||
Comment 12•15 years ago
|
||
Forced a nightly with the new dwarf-2 code, and it completed successfully, with what looks like good symbols: http://symbols.mozilla.org/thunderbird/thunderbird-3.0b2pre-Darwin-20081223124603-symbols.txt
Assignee | ||
Comment 13•15 years ago
|
||
Submitted a crash with that build here: <http://crash-stats.mozilla.com/report/index/ec66dcc3-df65-4cbb-8c22-af7a42081223>
Comment 14•15 years ago
|
||
I've also had success with submitting a crash with the latest build (having not been able to for ages): http://crash-stats.mozilla.com/report/index/676daf46-1c3a-440e-9ae3-60dd82081223
Assignee | ||
Comment 15•15 years ago
|
||
In that case, I think it's fair to call this bug closed!
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•