From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 27 21:53:33 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B52916A4E5; Thu, 27 Jul 2006 21:53:33 +0000 (UTC) (envelope-from prvs=julian=356e8a28d@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BD8943D77; Thu, 27 Jul 2006 21:53:29 +0000 (GMT) (envelope-from prvs=julian=356e8a28d@elischer.org) Received: from unknown (HELO [192.168.2.4]) ([10.251.60.53]) by a50.ironport.com with ESMTP; 27 Jul 2006 14:53:30 -0700 Message-ID: <44C935D9.8040604@elischer.org> Date: Thu, 27 Jul 2006 14:53:29 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tijl Coosemans References: <200607221914.15826.lofi@freebsd.org> <200607250358.21457.tijl@ulyssis.org> <200607271121.17313.jhb@freebsd.org> <200607272308.27425.tijl@ulyssis.org> In-Reply-To: <200607272308.27425.tijl@ulyssis.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Daniel Eischen , freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org, Michael Nottebrock Subject: Re: WINE vs. FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2006 21:53:33 -0000 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?