From owner-freebsd-current@FreeBSD.ORG Wed Dec 10 07:31:51 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 603C616A4CF for ; Wed, 10 Dec 2003 07:31:51 -0800 (PST) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EB9943D2E for ; Wed, 10 Dec 2003 07:31:50 -0800 (PST) (envelope-from craig@xfoil.gank.org) Received: from localhost (ion.gank.org [69.55.238.164]) by ion.gank.org (mail) with ESMTP id C65572B2FD; Wed, 10 Dec 2003 09:31:49 -0600 (CST) Received: from ion.gank.org ([69.55.238.164]) by localhost (ion.gank.org [69.55.238.164]) (amavisd-new, port 10024) with LMTP id 06515-04; Wed, 10 Dec 2003 09:31:48 -0600 (CST) Received: from owen1492.uf.corelab.com (pix.corelab.com [12.45.169.2]) by ion.gank.org (mail) with ESMTP id 7B9EC2B2FC; Wed, 10 Dec 2003 09:31:47 -0600 (CST) From: Craig Boston To: Daniel Eischen Date: Wed, 10 Dec 2003 09:31:42 -0600 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312100931.42169.craig@xfoil.gank.org> X-Virus-Scanned: by amavisd-new at gank.org cc: current@freebsd.org Subject: Re: nss and pthreads and wine, oh my! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 15:31:51 -0000 On Wednesday 10 December 2003 08:50 am, Daniel Eischen wrote: > One other thing. When you are building wine, can you search its > sources for ldt_keeper.c or something like that? It may need > a patch to work with libthr and libkse. You can see similar > patches for mplayer and libxine which both have an ldt_keeper.c > with comments saying it is taken from wine. Hmm, ok, I'll have to warn you though, the wine source tree is pretty much the only thing other than gcc that I find more intimidating than libc/threads :) Wine doesn't have an ldt_keeper.c file. The only file I could find that actually calls i386_set_ldt is libs/wine/ldt.c, which seems to be keeping its own table of which LDTs have been used. Strange -- usually the kernel complains about processes that don't use allocate them dynamically but wine doesn't seem to trigger that warning. Despite the claims of the mplayer patch, I was unable to find LDT_AUTO_ALLOC anywhere in the wine sources. Oh, just for reference, neither of the machines in question are using the nvidia driver. Craig