All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Fam Zheng <famz@redhat.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] make distclean can fail do to a configuration check
Date: Mon, 29 Feb 2016 12:13:45 -0500	[thread overview]
Message-ID: <56D47C49.6080005@redhat.com> (raw)
In-Reply-To: <CAFEAcA_FxDrra0mwh_RFoEK4vGnZh=Y2bLLhzYTgrQh+dqvBMA@mail.gmail.com>



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

  reply	other threads:[~2016-02-29 17:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2016-03-01  1:55     ` Fam Zheng
2016-03-01 15:47       ` John Snow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56D47C49.6080005@redhat.com \
    --to=jsnow@redhat.com \
    --cc=famz@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.