blob: da2229aec506d7f001797e8ea6f54b0007013ad4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
id = 825
title = "compilation error - \"VIRTIO_F_VERSION\""
state = "closed"
created_at = "2022-01-18T07:22:58.188Z"
closed_at = "2022-01-18T10:55:55.334Z"
labels = []
url = "https://gitlab.com/qemu-project/qemu/-/issues/825"
host-os = "(Centos 7)"
host-arch = "(x86)"
qemu-version = "n/a"
guest-os = "n/a"
guest-arch = "n/a"
description = """Encountered problem while "make"
....
`[65/2464] Compiling C object subprojects/libvhost-user/libvhost-user.a.p/libvhost-user.c.o
FAILED: subprojects/libvhost-user/libvhost-user.a.p/libvhost-user.c.o
cc -m64 -mcx16 -Isubprojects/libvhost-user/libvhost-user.a.p -Isubprojects/libvhost-user -I../subprojects/libvhost-user -fdiagnostics-color=auto -Wall -Winvalid-pch -Werror -std=gnu11 -O2 -g -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -fPIE -pthread -D_GNU_SOURCE -MD -MQ subprojects/libvhost-user/libvhost-user.a.p/libvhost-user.c.o -MF subprojects/libvhost-user/libvhost-user.a.p/libvhost-user.c.o.d -o subprojects/libvhost-user/libvhost-user.a.p/libvhost-user.c.o -c ../subprojects/libvhost-user/libvhost-user.c
../subprojects/libvhost-user/libvhost-user.c: In function 'vu_get_features_exec':
../subprojects/libvhost-user/libvhost-user.c:508:17: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function); did you mean 'INFLIGHT_VERSION'?
1ULL << VIRTIO_F_VERSION_1 |
^~~~~~~~~~~~~~~~~~
INFLIGHT_VERSION
../subprojects/libvhost-user/libvhost-user.c:508:17: note: each undeclared identifier is reported only once for each function it appears in
../subprojects/libvhost-user/libvhost-user.c: In function 'vu_set_features_exec':
../subprojects/libvhost-user/libvhost-user.c:542:30: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function); did you mean 'INFLIGHT_VERSION'?
if (!vu_has_feature(dev, VIRTIO_F_VERSION_1)) {
^~~~~~~~~~~~~~~~~~
INFLIGHT_VERSION
../subprojects/libvhost-user/libvhost-user.c: In function 'generate_faults':
../subprojects/libvhost-user/libvhost-user.c:612:13: error: unused variable 'ret' [-Werror=unused-variable]
int ret;
^~~
../subprojects/libvhost-user/libvhost-user.c:611:22: error: unused variable 'dev_region' [-Werror=unused-variable]
VuDevRegion *dev_region = &dev->regions[i];
^~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:163: run-ninja] Error 1
make[1]: Leaving directory '/users/oneuser/qemu/qemu/build'
make: *** [GNUmakefile:11: all] Error 2
`"""
reproduce = """1. ./configure --prefix=/users/oneuser/qemu/myqemu-1 --enable-kvm --target-list=x86_64-softmmu
2. make
3."""
additional = """Please let me know if more info is needed."""
|