On 7/29/20 8:50 AM, Stefan Hajnoczi wrote:
> On Thu, Jul 16, 2020 at 05:10:26PM -0400, Cole Robinson wrote:
>> I'm trying to build qemu 5.1.0-rc0 in Fedora. I'm hitting some issues.
> 
> For anyone else reading this email thread, this was fixed in QEMU
> 5.1.0-rc1:
> 
>   commit d97df4b84bc42613cf9a03619de453ebd0be30b7
>   Author: Gerd Hoffmann <kra...@redhat.com>
>   Date:   Mon Jul 20 12:03:50 2020 +0200
> 
>       qxl: fix modular builds with dtrace
> 

FWIW I'm still hitting issues with qemu-5.1.0 GA but maybe it's
unrelated to that specific fix. Issues reproduce on fedora 33+, not
fedora 32.

Here's a build log for 5.1.0 GA on Fedora 33 x86_64:
https://kojipkgs.fedoraproject.org//work/tasks/6937/49136937/build.log

grep for 'undefined symbol' and you'll see qemu-iotest failures, for
example:

--- /builddir/build/BUILD/qemu-5.1.0-rc3/tests/qemu-iotests/127.out
2020-08-05 16:41:09.000000000 +0000
+++
/builddir/build/BUILD/qemu-5.1.0-rc3/build-dynamic/tests/qemu-iotests/127.out.bad
2020-08-11 19:50:39.245897057 +0000
@@ -1,4 +1,5 @@
 QA output created by 127
+Failed to open module:
/builddir/build/BUILD/qemu-5.1.0-rc3/build-dynamic/x86_64-softmmu/../hw-display-qxl.so:
undefined symbol: qemu_qxl_client_monitors_config_crc_semaphore


On s390x where spice+qxl aren't compiled, we see different symbol errors
in the logs here:
https://kojipkgs.fedoraproject.org//work/tasks/6091/49136091/build.log

--- /builddir/build/BUILD/qemu-5.1.0/tests/qemu-iotests/127.out
2020-08-11 19:17:15.000000000 +0000
+++
/builddir/build/BUILD/qemu-5.1.0/build-dynamic/tests/qemu-iotests/127.out.bad
2020-08-12 12:16:20.472179636 +0000
@@ -1,4 +1,5 @@
 QA output created by 127
+Failed to open module:
/builddir/build/BUILD/qemu-5.1.0/build-dynamic/s390x-softmmu/../hw-usb-smartcard.so:
undefined symbol: ccid_card_send_apdu_to_guest

So maybe there's a more general problem. FWIW Fedora 33 started using
LTO by default, but it was disabled for the qemu package.

- Cole


Reply via email to