From owner-freebsd-ports Mon Aug 7 15:47:34 2000 Delivered-To: freebsd-ports@freebsd.org Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by hub.freebsd.org (Postfix) with ESMTP id 571B237BB62; Mon, 7 Aug 2000 15:47:29 -0700 (PDT) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from [128.130.111.2] (deneb [128.130.111.2]) by vexpert.dbai.tuwien.ac.at (8.9.3/8.9.3) with ESMTP id AAA13562; Tue, 8 Aug 2000 00:47:23 +0200 (MET DST) Date: Tue, 8 Aug 2000 00:47:22 +0200 (CEST) From: Gerald Pfeifer To: freebsd-gnats-submit@freebsd.org, freebsd-ports@freebsd.org Cc: =?ISO-8859-1?Q?J=FCrgen_Lock?= , Luoqi Chen Subject: Re: kern/11287: rfork(RFMEM...) doesn't share LDTs set byi386_set_ldt, breaking wine Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Unfortunately, I have not heard back from Jürgen or Luoqi, so I'm going to analyse this piece by piece. Please remove ports/emulators/wine/files/patch-3.3-sys-ldtshare and install the patch at the end of this message. (patch...ldtshare has been part of at least two FreeBSD releases now: 4.0, and 4.1, and it was not necessary for most Wine applications I tried, so I don't see a point in keeping it.) Gerald Index: README.patch =================================================================== RCS file: /sw/FreeBSD/CVSUP/ports/emulators/wine/files/README.patch,v retrieving revision 1.3 diff -u -r1.3 README.patch --- README.patch 2000/02/08 09:26:18 1.3 +++ README.patch 2000/08/07 22:40:58 @@ -3,11 +3,6 @@ They unfortunately didn't make it into the base distribution in time for the 3.3 release code freeze... -patch-3.3-sys-ldtshare: -make kernel threads (rfork(), which wine uses) share one LDT instead of -each having its own. this fixes the same problem that wine also had on -linux kernels before 2.2. - patch-3.3-sys-sigtrap: stop wine's SIGTRAP handler from being called in the sigreturn syscall, causing problems for wine's internal debugger. (it would still @@ -29,7 +24,6 @@ Apply as follows: - (cd /usr/src/sys && patch )