Bug 524216

Summary: dwarf data missing for some function parameters
Product: [Fedora] Fedora Reporter: Frank Ch. Eigler <fche>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: jakub
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-24 06:56:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frank Ch. Eigler 2009-09-18 12:33:03 UTC
According to amodra's analysis, "-mno-sched-prolog breaks function
parameter debug location lists" on powerpc.

http://sourceware.org/bugzilla/show_bug.cgi?id=10231
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40473

I have not yet tried to reproduce this with gcc-vta/rawhide yet,
but it impacts F11 for sure, so a backport of the patch would be
appreciated.

Comment 1 Jakub Jelinek 2009-09-22 08:16:22 UTC
First of all, the kernel shouldn't be using such options.  The comment in kernel's Makefile talks about working around some gcc bug with -fno-omit-frame-pointer, has that bug even been filed to gcc?

Comment 2 Frank Ch. Eigler 2009-09-23 22:41:42 UTC
(In reply to comment #1)
> First of all, the kernel shouldn't be using such options.  [...]

Maybe, but if the patch now committed to gcc mainline can be
backported, we can fight that battle another time.

Comment 3 Jakub Jelinek 2009-09-24 06:56:07 UTC
Fixed in gcc-4.4.1-16.