summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/816.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/816.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/816.toml57
1 files changed, 57 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/816.toml b/gitlab/issues/target_missing/host_missing/accel_missing/816.toml
new file mode 100644
index 00000000..8a4d1b39
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/816.toml
@@ -0,0 +1,57 @@
+id = 816
+title = "Some errors were encountered while compiling QEMU source code"
+state = "closed"
+created_at = "2022-01-13T02:59:21.184Z"
+closed_at = "2022-01-15T22:04:14.331Z"
+labels = ["Build System", "device:virtio", "workflow::Needs Info"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/816"
+host-os = "n/a"
+host-arch = "n/a"
+qemu-version = "n/a"
+guest-os = "n/a"
+guest-arch = "n/a"
+description = """When I try to download the source code from gitlab and compile it, the output is as follows:
+
+```
+FAILED: subprojects/libvhost-user/libvhost-user.a.p/libvhost-user.c.o 
+clang -m64 -mcx16 -Isubprojects/libvhost-user/libvhost-user.a.p -Isubprojects/libvhost-user -I../subprojects/libvhost-user -fcolor-diagnostics -Wall -Winvalid-pch -Werror -std=gnu11 -O2 -g -fsanitize=fuzzer-no-link -fsanitize=undefined -fsanitize=address -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-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wno-initializer-overrides -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition -Wno-tautological-type-limit-compare -fstack-protector-strong -fprofile-instr-generate -fcoverage-mapping -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
+In file included from ../subprojects/libvhost-user/libvhost-user.c:43:
+../subprojects/libvhost-user/include/atomic.h:1:1: error: expected identifier or '('
+../../../include/qemu/atomic.h
+^
+In file included from ../subprojects/libvhost-user/libvhost-user.c:45:
+../subprojects/libvhost-user/libvhost-user.h:23:10: fatal error: 'standard-headers/linux/virtio_ring.h' file not found
+#include "standard-headers/linux/virtio_ring.h"
+         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+2 errors generated.
+[69/1511] Compiling C object subprojects/libvhost-user/libvhost-user-glib.a.p/libvhost-user-glib.c.o
+FAILED: subprojects/libvhost-user/libvhost-user-glib.a.p/libvhost-user-glib.c.o 
+clang -m64 -mcx16 -Isubprojects/libvhost-user/libvhost-user-glib.a.p -Isubprojects/libvhost-user -I../subprojects/libvhost-user -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fcolor-diagnostics -Wall -Winvalid-pch -Werror -std=gnu11 -O2 -g -fsanitize=fuzzer-no-link -fsanitize=undefined -fsanitize=address -D_GNU_SOURCE -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-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wno-initializer-overrides -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition -Wno-tautological-type-limit-compare -fstack-protector-strong -fprofile-instr-generate -fcoverage-mapping -fPIE -pthread -Wno-unused-function -MD -MQ subprojects/libvhost-user/libvhost-user-glib.a.p/libvhost-user-glib.c.o -MF subprojects/libvhost-user/libvhost-user-glib.a.p/libvhost-user-glib.c.o.d -o subprojects/libvhost-user/libvhost-user-glib.a.p/libvhost-user-glib.c.o -c ../subprojects/libvhost-user/libvhost-user-glib.c
+In file included from ../subprojects/libvhost-user/libvhost-user-glib.c:15:
+In file included from ../subprojects/libvhost-user/libvhost-user-glib.h:19:
+../subprojects/libvhost-user/libvhost-user.h:23:10: fatal error: 'standard-headers/linux/virtio_ring.h' file not found
+#include "standard-headers/linux/virtio_ring.h"
+         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+1 error generated.
+[70/1511] Generating trace-hw_alpha.h with a custom command
+[71/1511] Generating hmp-commands-info.h with a custom command (wrapped by meson to capture output)
+[72/1511] Generating qemu-img-cmds.h with a custom command (wrapped by meson to capture output)
+[73/1511] Generating hmp-commands.h with a custom command (wrapped by meson to capture output)
+[74/1511] Generating qemu-options.def with a custom command (wrapped by meson to capture output)
+[75/1511] Compiling C object libslirp.a.p/slirp_src_tcp_input.c.o
+[76/1511] Compiling C object libcapstone.a.p/capstone_arch_SystemZ_SystemZDisassembler.c.o
+[77/1511] Generating qemu-version.h with a custom command (wrapped by meson to capture output)
+[78/1511] Compiling C object libcapstone.a.p/capstone_arch_AArch64_AArch64Disassembler.c.o
+[79/1511] Compiling C object libcapstone.a.p/capstone_arch_ARM_ARMInstPrinter.c.o
+[80/1511] Compiling C object libcapstone.a.p/capstone_arch_ARM_ARMDisassembler.c.o
+[81/1511] Compiling C object libcapstone.a.p/capstone_arch_AArch64_AArch64InstPrinter.c.o
+ninja: build stopped: subcommand failed.
+Makefile:163: recipe for target 'run-ninja' failed
+make: *** [run-ninja] Error 1
+```
+
+I looked for the missing file standard-headers/linux/virtio_ring.h and found that the file existed."""
+reproduce = """1. ``git clone https://gitlab.com/qemu-project/qemu``
+2. ``CC=clang CXX=clang++ ../configure --enable-fuzzing  --enable-sanitizers``
+3. ``make qemu-fuzz-i386``"""
+additional = "n/a"