Bug 613600
| Summary: | "make rpm" in upstream generates warnings with dwarves | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Justin Clift <jclift> |
| Component: | libvirt | Assignee: | Eric Blake <eblake> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | acme, berrange, clalance, crobinso, eblake, itamar, jforbes, kwade, veillard, virt-maint, xen-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-09 18:56:52 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: | |||
Sounds like something for Eric / Jim to look at. In rawhide, dwarves 1.9 _can't_ parse gcc 4.7 output: dwarves-1.9-1.fc16.i686 gcc-4.7.0-0.4.fc17.i686 pdwtags --verbose src/libvirt_net_rpc_la-virkeepaliveprotocol.o die__process_function: DW_TAG_INVALID (0x4109) @ <0x58c> not handled! whereas the same thing works on F16 for me: dwarves-1.9-1.fc16.x86_64 gcc-4.6.2-1.fc16.x86_64 I'm cloning this bug against dwarves to get the tool fixed, and meanwhile, I will work on tweaking libvirt's error message to be a bit more accurate in the case where the tool is newer than 1.3 but still broken in comparison to gcc. Upstream patch proposed: https://www.redhat.com/archives/libvir-list/2012-January/msg00243.html (In reply to comment #2) > I'm cloning this bug against dwarves to get the tool fixed, bug 772358 The 0.9.9 release includes this, so I'm closing the bug:
commit cf6d36257b9164ec7a4bcd31a3c56b6163169e02
Author: Eric Blake <eblake>
Date: Fri Jan 6 16:07:34 2012 -0700
tests: work around pdwtags 1.9 failure
On rawhide, gcc is new enough to output new DWARF information that
pdwtags has not yet learned, but the resulting 'make check' output
was rather confusing:
$ make -C src check
...
GEN virkeepaliveprotocol-structs
die__process_function: DW_TAG_INVALID (0x4109) @ <0x58c> not handled!
WARNING: your pdwtags program is too old
WARNING: skipping the virkeepaliveprotocol-structs test
WARNING: install dwarves-1.3 or newer
...
$ pdwtags --version
v1.9
|
Description of problem: Running the "make rpm" target in libvirt upstream git generates these warning messages: WARNING: your pdwtags program is too old WARNING: skipping the remote_protocol-structs test WARNING: install dwarves-1.3 or newer However, the very latest version of dwarves (~1.8) is installed. Version-Release number of selected component (if applicable): $ rpm -qa | grep dwarves libdwarves1-1.8-1.fc13.x86_64 dwarves-1.8-1.fc13.x86_64 $ How reproducible: Every time. Steps to Reproduce: 1. Install dwarves from F13 repository. 2. Run "make rpm" from local libvirt git repository. Warning messages appear here. Actual results: Warning messages appear, and (I guess) the "remote_protocol-structs" test is skipped as per the message. Expected results: The dwarves program to be recognised correctly, and the indicated test to be run. Additional info: