From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzQDB-0000m5-Fk for qemu-devel@nongnu.org; Wed, 26 Oct 2016 11:33:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzQD7-0003ME-9A for qemu-devel@nongnu.org; Wed, 26 Oct 2016 11:33:53 -0400 Received: from mail-it0-x22a.google.com ([2607:f8b0:4001:c0b::22a]:36476) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzQD7-0003Lf-1Q for qemu-devel@nongnu.org; Wed, 26 Oct 2016 11:33:49 -0400 Received: by mail-it0-x22a.google.com with SMTP id m138so28452922itm.1 for ; Wed, 26 Oct 2016 08:33:48 -0700 (PDT) In-Reply-To: <5A857D10-76C1-47CE-93C0-F4C67E2AD26C@livius.net> References: <5A857D10-76C1-47CE-93C0-F4C67E2AD26C@livius.net> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: G 3 Date: Wed, 26 Oct 2016 11:32:35 -0400 Subject: Re: [Qemu-devel] macOS 10.12 Sierra, Xcode 8 & clock_gettime() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liviu Ionescu Cc: qemu-devel qemu-devel , Paolo Bonzini On Oct 26, 2016, at 11:15 AM, Liviu Ionescu wrote: > >> On 26 Oct 2016, at 17:32, G 3 wrote: >> >> Maybe changing the base SDK from Mac OS 10.12 to say Mac OS 10.6 >> might fix the problem. > > any suggestion how to do this? > > for my linux and windows builds I use docker images, and I'm quite > happy with this setup, it is stable and I get the same results > regardless the environment I use to run the builds. > > unfortunately, for macOS, my development platform, I do not have a > stable, fully controllable, build platform, and each time Apple > updates the system I run into problems. > > currently deep inside Xcode 8 is OSX 10.12 SDK only, and I do not > know how to install other versions. > > I'm considering a custom homebrew install, with all specific tools, > but, as far as I know, this will not completely severe the links to > the system libraries. > > > so any suggestions on how to stick to a specific base SDK will be > highly appreciated. > > > regards, > > Liviu I think the isysroot command-line option is what you would use. Something like this: -isysroot /Developer/SDKs/MacOSX10.6.sdk This link has some more info: http://stackoverflow.com/questions/2279499/isysroot-or-sdkroot-problem