[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Understanding initialization order for spice in qemu
From: |
Gerd Hoffmann |
Subject: |
Re: Understanding initialization order for spice in qemu |
Date: |
Fri, 19 Jun 2020 09:57:06 +0200 |
On Thu, Jun 18, 2020 at 01:11:44PM +0200, Christophe de Dinechin wrote:
> Hi Gerd,
>
>
> When I build qemu on master with moduels enabled, and run with spice, I
> occasionally see:
>
> qemu-system-x86_64: util/module.c:136: module_load_file: Assertion
> `QTAILQ_EMPTY(&dso_init_list)' failed.
Never saw that one.
I've noticed though the qemu build system doesn't rebuild code on cflags
changes, and switching object files from -y to -m (which adds -fPIC to
cflags) can cause build errors which go away when you rm -rf the build
tree (or at least the subdirectory where I'm hacking on) and try again.
> Asking because I don't recall ever seeing that on a clean build.
Yea, that hints it is the same problem.
HTH,
Gerd