Closed Bug 554024 Opened 15 years ago Closed 15 years ago

switch mozilla-central Linux builds to use -gdwarf-2 instead of -gstabs

Categories

(Release Engineering :: General, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ted, Assigned: ted)

References

Details

Attachments

(1 file)

After the Breakpad update in bug 548113, we should now be able to dump DWARF symbols on Linux. We should switch from stabs because we'll get better symbols in some cases, and it will also allow us to use -fomit-frame-pointer.
Depends on: 554019
Assignee: nobody → ccooper
Priority: -- → P3
Blocks: 554364
Depends on: 554028
Stealing this bug, another sed-generated patch, via: find . -name "mozconfig" | xargs grep -l MOZ_DEBUG_SYMBOLS | grep -v "1.9" | grep -v lorentz | grep -v "seamonkey/" | grep -v thunderbird | grep linux | xargs sed -i -e 's/stabs[+]/dwarf-2/'
Assignee: ccooper → ted.mielczarek
Status: NEW → ASSIGNED
Attachment #434599 - Flags: review?(catlee)
Attachment #434599 - Flags: review?(catlee) → review+
By the way, there is also -gstabs, in js/src/configure.in.
(In reply to comment #2) > By the way, there is also -gstabs, in js/src/configure.in. That's in some ancient QNX block, not relevant for this discussion.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
linux64 symlinks more branches back to mozilla-central than linux does, so there were changes to mozilla-1.9.1 and 1.9.2 which may not have been intended. But we don't build symbols on linux64 for those branches ?
I didn't know that, and it was unintentional, but yeah, it's harmless since we don't have Breakpad support for Linux64 on anything but trunk currently. (Thanks for the heads up!)
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: