Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2006 11:18:24 +0200
From:      Divacky Roman <xdivac02@stud.fit.vutbr.cz>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org, kmacy@fsmware.com, Michael Nottebrock <lofi@freebsd.org>
Subject:   Re: WINE vs. FreeBSD
Message-ID:  <20060723091824.GA79726@stud.fit.vutbr.cz>
In-Reply-To: <Pine.GSO.4.64.0607221912140.4394@sea.ntplx.net>
References:  <200607221914.15826.lofi@freebsd.org> <b1fa29170607221220j7638a5e7l324bf4cc48dffdf7@mail.gmail.com> <200607222341.05180.lofi@freebsd.org> <Pine.GSO.4.64.0607221912140.4394@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 22, 2006 at 07:15:35PM -0400, Daniel Eischen wrote:
> On Sat, 22 Jul 2006, Michael Nottebrock wrote:
> 
> >On Saturday, 22. July 2006 21:20, Kip Macy wrote:
> >>Thanks for your input.
> >>
> >>The relative merits of the different threading libraries is currently
> >>under discussion. Could you also try it with libthr (it may not work
> >>at all), I'd like to hear what happens. Thanks.
> >
> >WINE crashes in roughly the same spot. This is however with a libthr on
> >FreeBSD 5.5-RELEASE-p2, which is nothing short of disastrous (with a global
> >lib mapping from libpthread to libthr, about 1/3 of all the programs in my
> >default KDE session start at all - the rest hangs in state sbwait).
> 
> I think it is because WINE stomps on or TLS.  Nothing we can
> do about that except patch wine so it doesn't.  Look at the
> console messages for:
> 
>   Warning: pid XXX used static ldt allocation

I dont know details but judging from what linux does I think it might be that
wine requires more then one GDT entry for TLS areas. at least comment in linux
sources suggests so.

linux has 3 GDT entries for TLS while fbsd just 1.

my 2 cents

roman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060723091824.GA79726>