WINE vs. FreeBSD

Divacky Roman xdivac02 at
Sun Jul 23 09:18:41 UTC 2006

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


More information about the freebsd-hackers mailing list