qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] make distclean can fail do to a configuration check


From: John Snow
Subject: Re: [Qemu-devel] make distclean can fail do to a configuration check
Date: Mon, 29 Feb 2016 12:13:45 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0


On 02/29/2016 11:54 AM, Peter Maydell wrote:
> On 29 February 2016 at 16:49, John Snow <address@hidden> 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
> 

address@hidden (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]