Re: Misleading configure failure GLIB_SIZEOF_SIZE_T

2021-03-19 Thread Markus Armbruster
Paolo Bonzini writes: > On 19/03/21 10:40, Markus Armbruster wrote: >> $ cc -std=gnu99 -Wall -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 >> -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef >> -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common >> -f

Re: Misleading configure failure GLIB_SIZEOF_SIZE_T

2021-03-19 Thread Paolo Bonzini
On 19/03/21 10:40, Markus Armbruster wrote: $ cc -std=gnu99 -Wall -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -o config-temp/qemu-conf.exe c

Re: Misleading configure failure GLIB_SIZEOF_SIZE_T

2021-03-19 Thread Markus Armbruster
Peter Maydell writes: > On Thu, 18 Mar 2021 at 12:53, Markus Armbruster wrote: >> >> I just ran into this failure: >> >> $ ../configure --disable-tools --disable-system --static >> >> ERROR: sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T. >>You probably need to set PKG_CONFI

Re: Misleading configure failure GLIB_SIZEOF_SIZE_T

2021-03-18 Thread Peter Maydell
On Thu, 18 Mar 2021 at 12:53, Markus Armbruster wrote: > > I just ran into this failure: > > $ ../configure --disable-tools --disable-system --static > > ERROR: sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T. >You probably need to set PKG_CONFIG_LIBDIR >to point to

Misleading configure failure GLIB_SIZEOF_SIZE_T

2021-03-18 Thread Markus Armbruster
I just ran into this failure: $ ../configure --disable-tools --disable-system --static ERROR: sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T. You probably need to set PKG_CONFIG_LIBDIR to point to the right pkg-config files for your build target My confi