Re: [Qemu-devel] [PATCH] modules: do not include gmodule-2.0 in static builds

2014-02-25 Thread Peter Maydell
On 25 February 2014 16:42, Peter Maydell wrote: > On 25 February 2014 16:36, Paolo Bonzini wrote: >> gmodule-2.0's pkg-config files include -Wl,--export-dynamic, which breaks >> static builds. It is a glib bug, but we need to support --static builds for >> the linux-user targets, and in the end

Re: [Qemu-devel] [PATCH] modules: do not include gmodule-2.0 in static builds

2014-02-25 Thread Peter Maydell
On 25 February 2014 16:36, Paolo Bonzini wrote: > gmodule-2.0's pkg-config files include -Wl,--export-dynamic, which breaks > static builds. It is a glib bug, but we need to support --static builds for > the linux-user targets, and in the end all that is needed to fix this is: > > * outlaw --enab

[Qemu-devel] [PATCH] modules: do not include gmodule-2.0 in static builds

2014-02-25 Thread Paolo Bonzini
gmodule-2.0's pkg-config files include -Wl,--export-dynamic, which breaks static builds. It is a glib bug, but we need to support --static builds for the linux-user targets, and in the end all that is needed to fix this is: * outlaw --enable-modules --static, which makes little sense anyway * on