qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Liviu Ionescu <ilg@livius.net>
Cc: qemu-devel <Qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] macOS 10.12 Sierra, Xcode 8 & clock_gettime()
Date: Tue, 25 Oct 2016 16:38:47 +0200	[thread overview]
Message-ID: <7ad3267b-c526-b7ce-b337-d2bb2567dd06@redhat.com> (raw)
In-Reply-To: <6E53586E-1AD6-4EA9-AAA3-0338349E46F4@livius.net>



On 25/10/2016 16:37, Liviu Ionescu wrote:
>>> ... If you add the attribute to the test, configure will detect
>>> it or not depending on -mmacosx-version-min, at least in theory.
> aha. so your suggestion is to extend configure to add
> CONFIG_HAVE_CLOCK_GETTIME, add -mmacosx-version-min to be sure
> configure does **not** set CONFIG_HAVE_CLOCK_GETTIME, and then patch
> the source codes to conditionally refer to clock_gettime().
> 
> this is definitely a better approach than my workaround, but requires
> much more effort. I'll probably wait for such a solution, when
> available.

You'll have to wait for a long time, since I don't even have a computer
to test it on.

Paolo

  reply	other threads:[~2016-10-25 14:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-25  9:43 [Qemu-devel] macOS 10.12 Sierra, Xcode 8 & clock_gettime() Liviu Ionescu
2016-10-25 10:02 ` Peter Maydell
2016-10-25 10:34   ` Liviu Ionescu
2016-10-25 13:40   ` Liviu Ionescu
2016-10-25 11:40 ` Paolo Bonzini
2016-10-25 13:36   ` Liviu Ionescu
2016-10-25 13:48     ` Paolo Bonzini
2016-10-25 14:12       ` Liviu Ionescu
2016-10-25 14:21         ` Paolo Bonzini
2016-10-25 14:37           ` Liviu Ionescu
2016-10-25 14:38             ` Paolo Bonzini [this message]
     [not found] <mailman.12713.1477406219.22738.qemu-devel@nongnu.org>
2016-10-26 14:32 ` G 3
2016-10-26 15:15   ` Liviu Ionescu
2016-10-26 15:32     ` G 3
2016-10-26 15:39       ` Liviu Ionescu
2016-10-26 16:03         ` G 3

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=7ad3267b-c526-b7ce-b337-d2bb2567dd06@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=Qemu-devel@nongnu.org \
    --cc=ilg@livius.net \
    /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 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).