summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/2766.toml
blob: 5dfb5f30ded18c20bebe76d577ec736688828b68 (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
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"