Re: [Qemu-devel] [PATCH v2 01/13] build-sys: fix qemu-ga -pthread linking

2017-12-19 Thread Marc-André Lureau
Hi On Fri, Dec 15, 2017 at 7:21 PM, Philippe Mathieu-Daudé wrote: > Hi Marc-André, > > On 12/15/2017 12:06 PM, Marc-André Lureau wrote: >> When linking qemu-ga under some configuration (when gthread-2.0.pc >> doesn't have -pthread, as happening atm with meson build), you may >> have this linking

Re: [Qemu-devel] [PATCH v2 01/13] build-sys: fix qemu-ga -pthread linking

2017-12-15 Thread Peter Maydell
On 15 December 2017 at 18:21, Philippe Mathieu-Daudé wrote: > Hi Marc-André, > > On 12/15/2017 12:06 PM, Marc-André Lureau wrote: >> When linking qemu-ga under some configuration (when gthread-2.0.pc >> doesn't have -pthread, as happening atm with meson build), you may >> have this linking issue:

Re: [Qemu-devel] [PATCH v2 01/13] build-sys: fix qemu-ga -pthread linking

2017-12-15 Thread Philippe Mathieu-Daudé
Hi Marc-André, On 12/15/2017 12:06 PM, Marc-André Lureau wrote: > When linking qemu-ga under some configuration (when gthread-2.0.pc > doesn't have -pthread, as happening atm with meson build), you may > have this linking issue: > > /usr/bin/ld: libqemuutil.a(qemu-thread-posix.o): undefined refer

[Qemu-devel] [PATCH v2 01/13] build-sys: fix qemu-ga -pthread linking

2017-12-15 Thread Marc-André Lureau
When linking qemu-ga under some configuration (when gthread-2.0.pc doesn't have -pthread, as happening atm with meson build), you may have this linking issue: /usr/bin/ld: libqemuutil.a(qemu-thread-posix.o): undefined reference to symbol 'pthread_setname_np@@GLIBC_2.12' /usr/lib64/libpthread.so.0