From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaROG-00013z-DG for qemu-devel@nongnu.org; Mon, 29 Feb 2016 12:13:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaROF-0001iu-Df for qemu-devel@nongnu.org; Mon, 29 Feb 2016 12:13:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaROF-0001iq-8c for qemu-devel@nongnu.org; Mon, 29 Feb 2016 12:13:47 -0500 References: <56BB8F66.5080406@redhat.com> <20160214071711.GD31933@ad.usersys.redhat.com> <56D4769C.5080808@redhat.com> From: John Snow Message-ID: <56D47C49.6080005@redhat.com> Date: Mon, 29 Feb 2016 12:13:45 -0500 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] make distclean can fail do to a configuration check List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 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