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