From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEm5T-0006vL-5v for qemu-devel@nongnu.org; Fri, 23 Jan 2015 16:48:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEm5O-0001oQ-6u for qemu-devel@nongnu.org; Fri, 23 Jan 2015 16:48:19 -0500 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:59766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEm5O-0001o8-0m for qemu-devel@nongnu.org; Fri, 23 Jan 2015 16:48:14 -0500 Received: by mail-wi0-f182.google.com with SMTP id n3so5640775wiv.3 for ; Fri, 23 Jan 2015 13:48:13 -0800 (PST) Sender: Paolo Bonzini Message-ID: <54C2C199.3060607@redhat.com> Date: Fri, 23 Jan 2015 22:48:09 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <4CA1A9CB-10A5-4CC9-BC96-7402E4DD78CA@gmail.com> <54C2B00D.7030307@redhat.com> <54C2B547.5010801@redhat.com> <3B3F06B4-5633-4CC7-9A32-8D2B244D0ED6@gmail.com> <54C2BF2F.7040208@redhat.com> In-Reply-To: <54C2BF2F.7040208@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu-coroutine.c: error: thread-local storage not supported for this target List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid Cc: Kevin Wolf , qemu-devel qemu-devel On 23/01/2015 22:37, Paolo Bonzini wrote: > > > On 23/01/2015 22:33, Programmingkid wrote: >>> Use clang then. >> >> Could you provide directions on how you want me to do this? In the configure options, this was all I found: >> --objcc=OBJCC use Objective-C compiler OBJCC [clang] > > ./configure --cc=clang --cxx=clang++ > > But QEMU uses "cc" and "c++" by default, not "gcc" and "g++", and on Mac > OS X "cc" and "c++" should be clang. So "./configure" should just work. Sorry, I was wrong. I missed that you are using 10.6.x. Thread-local storage was introduced on Mac OS X in 10.7. For 10.6.x you'll have to compile GCC 4.3 or newer yourself (or take it from fink/homebrew/whatever the Mac folks use these days). Paolo