From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 23 09:18:41 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9F1F16A4DD; Sun, 23 Jul 2006 09:18:41 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBC4643D5F; Sun, 23 Jul 2006 09:18:31 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.7/8.13.7) with ESMTP id k6N9IO3o079925 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 23 Jul 2006 11:18:24 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.7/8.13.3/Submit) id k6N9IOjW079924; Sun, 23 Jul 2006 11:18:24 +0200 (CEST) Date: Sun, 23 Jul 2006 11:18:24 +0200 From: Divacky Roman To: Daniel Eischen Message-ID: <20060723091824.GA79726@stud.fit.vutbr.cz> References: <200607221914.15826.lofi@freebsd.org> <200607222341.05180.lofi@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org, kmacy@fsmware.com, Michael Nottebrock Subject: Re: WINE vs. FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2006 09:18:41 -0000 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