summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/files/2766
blob: 581a60dd9a070b5b540ca23df79647e9ad168526 (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
Qemu 9.2: stubs: build issue with --enable-user --disable-system --enable-tools
Description of problem:
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