From owner-freebsd-bugs Mon Aug 7 15:50: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4C09837B637 for ; Mon, 7 Aug 2000 15:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA15907; Mon, 7 Aug 2000 15:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 7 Aug 2000 15:50:02 -0700 (PDT) Message-Id: <200008072250.PAA15907@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Gerald Pfeifer Subject: Re: kern/11287: rfork(RFMEM...) doesn't share LDTs set byi386_set_ldt, breaking wine Reply-To: Gerald Pfeifer Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/11287; it has been noted by GNATS. 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 Date: Tue, 8 Aug 2000 00:47:22 +0200 (CEST) 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 )