Re: [PATCH] Makefile: Compute libraries for libqemuutil.a and libvhost-user.a

2020-07-28 Thread Stefan Hajnoczi
On Thu, Jul 02, 2020 at 04:06:32PM +0300, Michael Tokarev wrote: > 01.07.2020 12:12, Christophe de Dinechin wrote: > .. > >>> # Build libraries > >>> > >>> +libqemuutil.a-libs += $(call extract-libs, $(util-obj-y) $(trace-obj-y) > >>> $(stub-obj-y)) > >>> +libvhost-user.a-libs += $(call extract-l

Re: [PATCH] Makefile: Compute libraries for libqemuutil.a and libvhost-user.a

2020-07-02 Thread Michael Tokarev
01.07.2020 12:12, Christophe de Dinechin wrote: .. >>> # Build libraries >>> >>> +libqemuutil.a-libs += $(call extract-libs, $(util-obj-y) $(trace-obj-y) >>> $(stub-obj-y)) >>> +libvhost-user.a-libs += $(call extract-libs, $(libvhost-user-obj-y) >>> $(util-obj-y) $(stub-obj-y)) .. >> Another thi

Re: [PATCH] Makefile: Compute libraries for libqemuutil.a and libvhost-user.a

2020-07-01 Thread Christophe de Dinechin
On 2020-06-23 at 16:44 CEST, Stefan Hajnoczi wrote... > On Tue, Jun 16, 2020 at 06:18:14PM +0200, Christophe de Dinechin wrote: >> In util/Makefile.objs, there is a setting for dbus.o-libs. >> Trying to copy-paste that to add a library for module.o that was was >> not otherwise linked yields link

Re: [PATCH] Makefile: Compute libraries for libqemuutil.a and libvhost-user.a

2020-06-23 Thread Stefan Hajnoczi
On Tue, Jun 16, 2020 at 06:18:14PM +0200, Christophe de Dinechin wrote: > In util/Makefile.objs, there is a setting for dbus.o-libs. > Trying to copy-paste that to add a library for module.o that was was > not otherwise linked yields link errors on a number of binaries, > e.g. qemu-ga, with unsatis

[PATCH] Makefile: Compute libraries for libqemuutil.a and libvhost-user.a

2020-06-16 Thread Christophe de Dinechin
In util/Makefile.objs, there is a setting for dbus.o-libs. Trying to copy-paste that to add a library for module.o that was was not otherwise linked yields link errors on a number of binaries, e.g. qemu-ga, with unsatisfied symbols in libqemuutil.a(module.o). The reason is that library dependencies