Re: [PATCH] stubs: Move qemu_timer_notify_cb() and remove qemu_notify_event() stub

2020-09-05 Thread Thomas Huth
On 05/09/2020 08.05, 罗勇刚(Yonggang Luo) wrote: > > > On Wed, Sep 2, 2020 at 6:33 PM Paolo Bonzini > wrote: > > On 02/09/20 12:24, Thomas Huth wrote: > > When cross-compiling with MinGW, there are sometimes some weird linker > > errors like: > > > >

Re: [PATCH] stubs: Move qemu_timer_notify_cb() and remove qemu_notify_event() stub

2020-09-04 Thread Yonggang Luo
On Wed, Sep 2, 2020 at 6:33 PM Paolo Bonzini wrote: > On 02/09/20 12:24, Thomas Huth wrote: > > When cross-compiling with MinGW, there are sometimes some weird linker > > errors like: > > > > ibqemuutil.a(util_main-loop.c.obj): In function `qemu_notify_event': > > /builds/huth/qemu/build/../util/

Re: [PATCH] stubs: Move qemu_timer_notify_cb() and remove qemu_notify_event() stub

2020-09-02 Thread Paolo Bonzini
On 02/09/20 12:24, Thomas Huth wrote: > When cross-compiling with MinGW, there are sometimes some weird linker > errors like: > > ibqemuutil.a(util_main-loop.c.obj): In function `qemu_notify_event': > /builds/huth/qemu/build/../util/main-loop.c:139: multiple definition of > `qemu_notify_event' >

[PATCH] stubs: Move qemu_timer_notify_cb() and remove qemu_notify_event() stub

2020-09-02 Thread Thomas Huth
When cross-compiling with MinGW, there are sometimes some weird linker errors like: ibqemuutil.a(util_main-loop.c.obj): In function `qemu_notify_event': /builds/huth/qemu/build/../util/main-loop.c:139: multiple definition of `qemu_notify_event' libqemuutil.a(stubs_notify-event.c.obj):/builds/huth