https://bugzilla.redhat.com/show_bug.cgi?id=865970
Bug ID: 865970 QA Contact: extras-qa@fedoraproject.org Severity: medium Version: rawhide Priority: medium CC: notting@redhat.com, package-review@lists.fedoraproject.org Assignee: nobody@fedoraproject.org Summary: Review Request: dwlocstat - Tool for examining Dwarf location info coverage Regression: --- Story Points: --- Classification: Fedora OS: Linux Reporter: pmachata@redhat.com Type: --- Documentation: --- Hardware: All Mount Type: --- Status: NEW Component: Package Review Product: Fedora
Spec URL: http://pmachata.fedorapeople.org/dwlocstat.spec SRPM URL: http://pmachata.fedorapeople.org/dwlocstat-0.1-0.1.20121012git4557c3e.fc16.s...
Description: dwlocstat is a tool for examining Dwarf location info coverage. It goes through DIEs of given binary's debug info that represent variables and function parameters. For each such DIE, it computes coverage of that DIE's range by location expressions.
Fedora Account System Username: pmachata
$ rpmlint dwlocstat.spec ../RPMS/ppc64/dwlocstat-0.1-0.1.20121012git4557c3e.fc16.ppc64.rpm ../SRPMS/dwlocstat-0.1-0.1.20121012git4557c3e.fc16.src.rpm 2 packages and 1 specfiles checked; 0 errors, 0 warnings.
I tested the build in Fedora 16 ppc64 mock and Fedora 18 i686 mock (in addition to x86_64 live system). During the build, you will likely see several messages like this: error: DIE 1f036: dwarf_getlocation_addr: invalid DWARF. (skipping)
That comes from %check, where I run the program on itself to do elementary smoke testing. The error messages come from elfutils, which doesn't have support for reading several location expression operators. A patch implementing this support was upstreamed this week.