qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] qemu-coroutine.c: error: thread-local storage not suppo


From: Programmingkid
Subject: Re: [Qemu-devel] qemu-coroutine.c: error: thread-local storage not supported for this target
Date: Fri, 23 Jan 2015 17:54:11 -0500

On Jan 23, 2015, at 4:48 PM, Paolo Bonzini wrote:

> 
> 
> 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).
> 
The code that causes this problem needs to be #ifdef'ed. I'm just not sure what 
the problem code is.




reply via email to

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