WINE vs. FreeBSD

Julian Elischer julian at elischer.org
Thu Jul 27 21:53:33 UTC 2006


Tijl Coosemans wrote:

>On Thursday 27 July 2006 17:21, John Baldwin wrote:
>  
>
>>On Monday 24 July 2006 21:58, Tijl Coosemans wrote:
>>    
>>
>>>However, Wine/Windows uses %fs for TLS and it appears that the
>>>FreeBSD kernel doesn't preserve it. It always ends up pointing to
>>>GUDATA_SEL.
>>>      
>>>
>>The kernel should preserve %fs across syscalls, traps, and faults. 
>>Can you point to a specific case where %fs is not preserved?  It
>>sounds like %fs is never set to a value in Wine.
>>    
>>
>
>Yes, it was a combination of compiler optimizations and an inline 
>assembly block missing __volatile__.
>
>  
>
does this mean that wine will work from now on?
i.e. is the fix being fed back into wine sources?


More information about the freebsd-hackers mailing list