summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/2766.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/2766.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/2766.toml35
1 files changed, 35 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/2766.toml b/gitlab/issues/target_missing/host_missing/accel_missing/2766.toml
new file mode 100644
index 000000000..5dfb5f30d
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/2766.toml
@@ -0,0 +1,35 @@
+id = 2766
+title = "Qemu 9.2: stubs: build issue with --enable-user --disable-system --enable-tools"
+state = "closed"
+created_at = "2025-01-07T20:24:42.043Z"
+closed_at = "2025-02-09T10:08:31.139Z"
+labels = ["Build System"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/2766"
+host-os = "n/a"
+host-arch = "n/a"
+qemu-version = "9.2"
+guest-os = "n/a"
+guest-arch = "n/a"
+description = """Since commit "[stubs: avoid duplicate symbols in libqemuutil.a](https://gitlab.com/qemu-project/qemu/-/commit/388b849fb6c33882b481123568995a749a54f648)", Qemu doesn't build with:
+
+  ./configure --enable-user --disable-system --enable-tools
+
+  /usr/bin/ld: libhwcore.a.p/hw_core_qdev.c.o: in function 'device_finalize': \\
+  /home/autobuild/autobuild/instance-2/output-1/build/host-qemu-9.2.0/build/../hw/core/qdev.c:689:(.text+0x75c): undefined reference to 'qapi_event_send_device_deleted'
+  collect2: error: ld returned 1 exit status
+
+See Buildroot automated build results:
+http://autobuild.buildroot.org/?reason=host-qemu-9.2.0
+
+Indeed, with have_system = false and have_tools = true, Qemu needs the stubs for QAPI events added by stub_ss.add(files('qdev.c')) to provide qapi_event_send_device_deleted.
+
+Maybe the change in stubs/meson.build should have been: \\
+
+if not have_system and have_tools \\
+stub_ss.add(files('qdev.c')) \\
+endif
+
+Best regards,
+Romain"""
+reproduce = "n/a"
+additional = "n/a"