Bug 848665
Summary: | qemu-kvm source code failed to compile after hack qemu-kvm.spec file | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | juzhang <juzhang> |
Component: | qemu-kvm | Assignee: | Paolo Bonzini <pbonzini> |
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.4 | CC: | acathrow, bsarathy, dyasny, mkenneth, pbonzini, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-20 11:58:59 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: |
Description
juzhang
2012-08-16 07:30:42 UTC
Update the error message -g -c -o console.o console.c cc1: warnings being treated as errors block/mirror.c: In function 'mirror_run': block/mirror.c:89: error: 'ret' may be used uninitialized in this function block/mirror.c:89: note: 'ret' was declared here gcc -I/root/rpmbuild/BUILD/qemu-kvm-0.12.1.2/slirp -Werror -m64 -Wold-style-definition -Wold-style-declaration -I. -I/root/rpmbuild/BUILD/qemu-kvm-0.12.1.2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fprofile-arcs -ftest-coverage -lgcov -fPIE -DPIE -I/usr/include/spice-server -I/usr/include/pixman-1 -I/usr/include/spice-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -MMD -MP -MT cursor.o -O2 -g -c -o cursor.o cursor.c make: *** [block/mirror.o] Error 1 make: *** Waiting for unfinished jobs.... + exit 0 additional infos. If remove --enable-werror from spec file, compile successful I think I looked at it in the past and it is a false positive. It will be fixed by the patches for bug 844627, I'll close it as a dup. *** This bug has been marked as a duplicate of bug 844627 *** |