Re: [Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-09-23 Thread Peter Maydell
On 23 September 2014 11:52, John Snow wrote: > On 08/22/2014 05:05 AM, Stefan Hajnoczi wrote: >> Nice, and Paolo sent me an automated way of doing that: >> >> On Fri, Aug 22, 2014 at 12:14:28AM +0200, Paolo Bonzini wrote: >>> >>> You need to set PKG_CONFIG_LIBDIR to >>> >>> /usr/lib/$MULTILIBDIR/p

Re: [Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-09-23 Thread John Snow
On 08/22/2014 05:05 AM, Stefan Hajnoczi wrote: On Fri, Aug 22, 2014 at 9:20 AM, Daniel P. Berrange wrote: On Thu, Aug 21, 2014 at 08:10:54PM -0400, John Snow wrote: I was running a series of tests on 32 and 64 bit hosts to test for endianness and variable width issues when I noticed that I c

Re: [Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-08-22 Thread Stefan Hajnoczi
On Fri, Aug 22, 2014 at 9:20 AM, Daniel P. Berrange wrote: > On Thu, Aug 21, 2014 at 08:10:54PM -0400, John Snow wrote: >> I was running a series of tests on 32 and 64 bit hosts to test for >> endianness and variable width issues when I noticed that I couldn't properly >> perform a build of "make

Re: [Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-08-22 Thread Peter Maydell
On 22 August 2014 09:34, Daniel P. Berrange wrote: > On Fri, Aug 22, 2014 at 09:28:05AM +0100, Peter Maydell wrote: >> Yes, but this should be done by the i686-w64-mingw32-pkg-config >> wrapper IMHO. (That's how I have my mingw setup configured, >> anyway.) > > Sure if your distro wants to rebuild

Re: [Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-08-22 Thread Daniel P. Berrange
On Fri, Aug 22, 2014 at 09:28:05AM +0100, Peter Maydell wrote: > On 22 August 2014 09:20, Daniel P. Berrange wrote: > > Distros will install pkg-config .pc files for non-native architectures > > in a different location normally. The supported / recommended way to > > tell pkg-config to look in the

Re: [Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-08-22 Thread Peter Maydell
On 22 August 2014 09:20, Daniel P. Berrange wrote: > Distros will install pkg-config .pc files for non-native architectures > in a different location normally. The supported / recommended way to > tell pkg-config to look in these alternative dirs is to set the env > variable PKG_CONFIG_LIBDIR. Th

Re: [Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-08-22 Thread Daniel P. Berrange
On Thu, Aug 21, 2014 at 08:10:54PM -0400, John Snow wrote: > I was running a series of tests on 32 and 64 bit hosts to test for > endianness and variable width issues when I noticed that I couldn't properly > perform a build of "make check" against a 32bit target from a 64bit host: > > ../../confi

Re: [Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-08-22 Thread Peter Maydell
On 22 August 2014 01:10, John Snow wrote: > I was running a series of tests on 32 and 64 bit hosts to test for > endianness and variable width issues when I noticed that I couldn't properly > perform a build of "make check" against a 32bit target from a 64bit host: > > ../../configure --cpu=i386 &

Re: [Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-08-22 Thread Markus Armbruster
John Snow writes: > I was running a series of tests on 32 and 64 bit hosts to test for > endianness and variable width issues when I noticed that I couldn't > properly perform a build of "make check" against a 32bit target from a > 64bit host: > > ../../configure --cpu=i386 && make -j4 && make ch

[Qemu-devel] issue: linking 64bit glib when building for cpu=i386

2014-08-21 Thread John Snow
I was running a series of tests on 32 and 64 bit hosts to test for endianness and variable width issues when I noticed that I couldn't properly perform a build of "make check" against a 32bit target from a 64bit host: ../../configure --cpu=i386 && make -j4 && make check This produces some war