Bug 962571

Summary: pahole vs. c++11
Product: [Fedora] Fedora Reporter: Benjamin Kosnik <bkoz>
Component: dwarvesAssignee: Arnaldo Carvalho de Melo <acme>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: acme, jstanley, mjw, mnewsome, wcohen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 10:12:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
simple class tester with abstract base class none

Description Benjamin Kosnik 2013-05-13 22:40:10 UTC
Created attachment 747460 [details]
simple class tester with abstract base class

Description of problem:

Take the attached sources, and compile for C++11 like:

%g++ -g -std=gnu++11 test.cc
%pahole ./a.out
die__process_unit: DW_TAG_rvalue_reference_type (0x42) @ <0x1cf> not handled!

Then do the same thing for C++98:
%g++ -g sa-04-C.cc
%pahole ./a.out

Fine.

So, there is some weird C++11 DWARF construct that pahole is choking on.

This is only with gcc-4.8 and above.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Fedora End Of Life 2013-12-21 13:31:28 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Mark Wielaard 2013-12-21 17:04:44 UTC
This is still an issue with dwarves-1.10-4.fc20.x86_64 and gcc-c++-4.8.2-7.fc20.x86_64:

g++ -g -std=gnu++11 test.cc
pahole ./a.out 
die__process_unit: DW_TAG_rvalue_reference_type (0x42) @ <0x1e7> not handled!

Comment 4 Jaroslav Reznik 2015-03-03 14:55:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 5 Arnaldo Carvalho de Melo 2016-03-15 19:43:19 UTC
Initial support upstream at:

https://git.kernel.org/cgit/devel/pahole/pahole.git/commit/?id=9df42c68265d1750eecbf386fca1c47d428ac207

Please take a look, more work needs to be done.

Comment 6 Fedora End Of Life 2016-07-19 10:12:05 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.