Bug 741637 - debuginfo: Forced -gdwarf-X is not compliant with the rest of the system
Summary: debuginfo: Forced -gdwarf-X is not compliant with the rest of the system
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: xulrunner
Version: 14
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-27 13:34 UTC by Jan Kratochvil
Modified: 2018-04-11 08:27 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-30 11:57:50 UTC
Type: ---


Attachments (Terms of Use)

Description Jan Kratochvil 2011-09-27 13:34:17 UTC
Description of problem:
It is built with -gdwarf-2 while Fedora already uses -gdwarf-3 or -gdwarf-4.

Version-Release number of selected component (if applicable):
xulrunner-debuginfo-1.9.2.22-1.fc14.x86_64
It affects also F15, F16 and Rawhide.

How reproducible:
Always.

Steps to Reproduce:
readelf -wi /usr/lib/debug/usr/lib64/xulrunner-1.9.2/libxul.so.debug
readelf -wi /usr/lib/debug/bin/bash.debug

Actual results:
   Version:       2
   Version:       3

Expected results:
   Version:       3
   Version:       3

Additional info:
It probably affects also the firefox package etc.

xulrunner-mozconfig-debuginfo:export CFLAGS="$CFLAGS -gdwarf-2"
xulrunner-mozconfig-debuginfo:export CXXFLAGS="$CXXFLAGS -gdwarf-2"
 - this is wrong, you should use %optflags.

Comment 1 Matěj Cepl 2011-09-27 14:22:19 UTC
This bug has been triaged

Comment 2 Jan Horak 2012-03-30 11:57:50 UTC
Sorry, we can't fix that. We are using Mozilla's crash reporter and Mozilla still use -gdwarf-2 so we have to keep that. 
See:
http://hg.mozilla.org/build/buildbot-configs/file/63811c8bd2e8/mozilla2/linux/mozilla-release/release/mozconfig


Note You need to log in before you can comment on or make changes to this bug.