* [Qemu-devel] make distclean can fail do to a configuration check
@ 2016-02-10 19:28 John Snow
2016-02-14 7:17 ` Fam Zheng
0 siblings, 1 reply; 7+ messages in thread
From: John Snow @ 2016-02-10 19:28 UTC (permalink / raw)
To: Fam Zheng; +Cc: qemu-devel
Stuff like this:
> ~/s/q/b/git> make distclean
> config-host.mak is out-of-date, running configure
>
> 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
>
> Makefile:35: recipe for target 'config-host.mak' failed
> make: *** [config-host.mak] Error 1`
is obnoxious. We had patches from Fam to allow some targets to bypass
the configuration check, did those die? Did we not want them for some
reason?
--js
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] make distclean can fail do to a configuration check 2016-02-10 19:28 [Qemu-devel] make distclean can fail do to a configuration check John Snow @ 2016-02-14 7:17 ` Fam Zheng 2016-02-29 16:49 ` John Snow 0 siblings, 1 reply; 7+ messages in thread From: Fam Zheng @ 2016-02-14 7:17 UTC (permalink / raw) To: John Snow; +Cc: qemu-devel On Wed, 02/10 14:28, John Snow wrote: > Stuff like this: > > > ~/s/q/b/git> make distclean > > config-host.mak is out-of-date, running configure > > > > 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 > > > > Makefile:35: recipe for target 'config-host.mak' failed > > make: *** [config-host.mak] Error 1` > > is obnoxious. We had patches from Fam to allow some targets to bypass > the configuration check, did those die? Did we not want them for some > reason? What are your preceding commands? I have a clean checkout here (git clean -dfx) and "make distclean" works for me. Fam ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] make distclean can fail do to a configuration check 2016-02-14 7:17 ` Fam Zheng @ 2016-02-29 16:49 ` John Snow 2016-02-29 16:54 ` Peter Maydell 2016-03-01 1:55 ` Fam Zheng 0 siblings, 2 replies; 7+ messages in thread From: John Snow @ 2016-02-29 16:49 UTC (permalink / raw) To: Fam Zheng; +Cc: qemu-devel On 02/14/2016 02:17 AM, Fam Zheng wrote: > On Wed, 02/10 14:28, John Snow wrote: >> Stuff like this: >> >>> ~/s/q/b/git> make distclean >>> config-host.mak is out-of-date, running configure >>> >>> 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 >>> >>> Makefile:35: recipe for target 'config-host.mak' failed >>> make: *** [config-host.mak] Error 1` >> >> is obnoxious. We had patches from Fam to allow some targets to bypass >> the configuration check, did those die? Did we not want them for some >> reason? > > What are your preceding commands? I have a clean checkout here (git clean -dfx) > and "make distclean" works for me. > > Fam > This is due to the new glib-version-detection code that was checked in. I had a configuration using clang, which does not appear to support the mechanisms that are being used to tell what version of glib is being linked against. Practical upshot is that I can't even clean my clang configuration because our makefile insists on re-configuring before it tries to clean. Fam, didn't you have patches to allow e.g. cleans and "make tags" and so on without re-incurring a full reconfiguration? --js ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] make distclean can fail do to a configuration check 2016-02-29 16:49 ` John Snow @ 2016-02-29 16:54 ` Peter Maydell 2016-02-29 17:13 ` John Snow 2016-03-01 1:55 ` Fam Zheng 1 sibling, 1 reply; 7+ messages in thread From: Peter Maydell @ 2016-02-29 16:54 UTC (permalink / raw) To: John Snow; +Cc: Fam Zheng, qemu-devel On 29 February 2016 at 16:49, John Snow <jsnow@redhat.com> wrote: > This is due to the new glib-version-detection code that was checked in. > I had a configuration using clang, which does not appear to support the > mechanisms that are being used to tell what version of glib is being > linked against. FWIW my clang configurations work ok... thanks -- PMM ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] make distclean can fail do to a configuration check 2016-02-29 16:54 ` Peter Maydell @ 2016-02-29 17:13 ` John Snow 0 siblings, 0 replies; 7+ messages in thread From: John Snow @ 2016-02-29 17:13 UTC (permalink / raw) To: Peter Maydell; +Cc: Fam Zheng, qemu-devel On 02/29/2016 11:54 AM, Peter Maydell wrote: > On 29 February 2016 at 16:49, John Snow <jsnow@redhat.com> wrote: >> This is due to the new glib-version-detection code that was checked in. >> I had a configuration using clang, which does not appear to support the >> mechanisms that are being used to tell what version of glib is being >> linked against. > > FWIW my clang configurations work ok... > > thanks > -- PMM > jhuston@scv (master) ~/s/q/b/git> ../../configure --cxx=clang++ --cc=clang --host-cc=clang --extra-cflags=-Werror --extra-cflags=-fsanitize=undefined --extra-cflags=-Wno-deprecated-declarations --extra-cflags=-fno-sanitize=float-divide-by-zero --target-list="x86_64-softmmu" 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 Hasn't worked since 977a82ab; Paolo filed a bug against Clang -- it was discussed here: https://lists.nongnu.org/archive/html/qemu-devel/2016-02/msg02482.html and filed here: https://bugzilla.redhat.com/show_bug.cgi?id=1306455 In the meantime, though, I haven't been able to use Clang on Fedora with QEMU this month, and it reveals other interesting features of our makefile like the one I was kvetching about here. :) --js ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] make distclean can fail do to a configuration check 2016-02-29 16:49 ` John Snow 2016-02-29 16:54 ` Peter Maydell @ 2016-03-01 1:55 ` Fam Zheng 2016-03-01 15:47 ` John Snow 1 sibling, 1 reply; 7+ messages in thread From: Fam Zheng @ 2016-03-01 1:55 UTC (permalink / raw) To: John Snow; +Cc: qemu-devel On Mon, 02/29 11:49, John Snow wrote: > > > On 02/14/2016 02:17 AM, Fam Zheng wrote: > Fam, didn't you have patches to allow e.g. cleans and "make tags" and so > on without re-incurring a full reconfiguration? Do you mean this? fam@fam-t430:~/work/qemu [master]$ git grep UNCHECKED_GOALS Makefile:UNCHECKED_GOALS := %clean TAGS cscope ctags Makefile:ifneq ($(filter-out $(UNCHECKED_GOALS),$(MAKECMDGOALS)),$(if $(MAKECMDGOALS),,fail)) Makefile:ifneq ($(filter-out $(UNCHECKED_GOALS),$(MAKECMDGOALS)),$(if $(MAKECMDGOALS),,fail)) Fam ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Qemu-devel] make distclean can fail do to a configuration check 2016-03-01 1:55 ` Fam Zheng @ 2016-03-01 15:47 ` John Snow 0 siblings, 0 replies; 7+ messages in thread From: John Snow @ 2016-03-01 15:47 UTC (permalink / raw) To: Fam Zheng; +Cc: qemu-devel On 02/29/2016 08:55 PM, Fam Zheng wrote: > On Mon, 02/29 11:49, John Snow wrote: >> >> >> On 02/14/2016 02:17 AM, Fam Zheng wrote: >> Fam, didn't you have patches to allow e.g. cleans and "make tags" and so >> on without re-incurring a full reconfiguration? > > Do you mean this? > > fam@fam-t430:~/work/qemu [master]$ git grep UNCHECKED_GOALS > Makefile:UNCHECKED_GOALS := %clean TAGS cscope ctags > Makefile:ifneq ($(filter-out $(UNCHECKED_GOALS),$(MAKECMDGOALS)),$(if $(MAKECMDGOALS),,fail)) > Makefile:ifneq ($(filter-out $(UNCHECKED_GOALS),$(MAKECMDGOALS)),$(if $(MAKECMDGOALS),,fail)) > > Fam > Aha, yes. I guess it's not quite working to avoid certain sanity checks, I'll check something in. Thanks, sorry for the noise. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-03-01 15:47 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-02-10 19:28 [Qemu-devel] make distclean can fail do to a configuration check John Snow 2016-02-14 7:17 ` Fam Zheng 2016-02-29 16:49 ` John Snow 2016-02-29 16:54 ` Peter Maydell 2016-02-29 17:13 ` John Snow 2016-03-01 1:55 ` Fam Zheng 2016-03-01 15:47 ` John Snow
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).