[Buildroot] [PATCH] package/qemu: fix Qemu stub builds

Romain Naour romain.naour at smile.fr
Thu Jan 9 10:50:49 UTC 2025


Hello Peter, All,

Le 09/01/2025 à 10:21, Peter Korsgaard a écrit :
> On 1/7/25 22:51, Julien Olivain wrote:
>> On 07/01/2025 22:09, Romain Naour via buildroot wrote:
>>> Since commit "stubs: avoid duplicate symbols in libqemuutil.a" [1],
>>> 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':
>>> [...]output/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
>>>
>>> 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().
>>>
>>> Fixes: 388b849fb6c33882b481123568995a749a54f648.
> 
> FYI, this should have been edfc67fb1a5f0fe67ba9de91e90b06a44902c231 ("package/
> qemu: bump to version 9.2.0")
> 

Indeed, this is actually the git hash in the Qemu repo...

My bad.

Best regards,
Romain



More information about the buildroot mailing list