From owner-freebsd-current@FreeBSD.ORG Sun Sep 5 21:41:34 2004 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 9166016A4CF for ; Sun, 5 Sep 2004 21:41:34 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0845143D2F for ; Sun, 5 Sep 2004 21:41:34 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.102] (ddsl-66-42-172-210.fuse.net [66.42.172.210]) (authenticated bits=0)i85LS3jr023091 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 5 Sep 2004 17:28:04 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: Gerald Pfeifer Date: Sun, 5 Sep 2004 17:43:21 -0400 User-Agent: KMail/1.6.2 References: <47158390.20040827112834@ulstu.ru> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_Bi4OBABKT65t+8c"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409051743.29909.mistry.7@osu.edu> X-Spam-Status: No, hits=-1.0 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,RCVD_IN_ORBS,RCVD_IN_OSIRUSOFT_COM, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_KMAIL, X_OSIRU_OPEN_RELAY version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: anvir@ulstu.ru cc: freebsd-current@freebsd.org Subject: Re: Wine and mmap 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: Sun, 05 Sep 2004 21:41:34 -0000 --Boundary-02=_Bi4OBABKT65t+8c Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 05 September 2004 05:15 pm, Gerald Pfeifer wrote: > [ John, sorry for the duplicate message; this is the correct one. ] > > On Fri, 27 Aug 2004, John Birrell wrote: > > Anish Mistry has developed a patch to choose an > > appropriate mmap address. He posted it to -current. I haven't had time = to > > test it. > > Thanks for the note. Will you have time to test/commit this before 5.3? > > Anish, do you have any news on this patch? (Wine has been broken for a > couple of months now, and it would be great to have at least 5.3 fixed.) > I'm still in the process of try to fix wine so that the new versions after= =20 June work too. Unless I have some major break through or someone else can= =20 fix the problem of wine not loading the evecutable at the default load=20 location it probably won't be. To see what I mean use Brian Fundakowski Feldman's patch to fix a pthread=20 problem in (thr_stack.c) and apply my mmap patch and try to run a few=20 programs with the August version of wine. What seems to be the problem is that there is an mmap call in wine that I=20 can't seem to find that ends up allocating allocating the space at least on= =20 my system (addr=3D0x003a0000 size=3D0x00010100) after the initial mmaping t= hat=20 consumes the default load location of 0x00400000 so then wine doesn't like= =20 that and dies. Some apps DO work since apparently they don't trigger the=20 previously stated mmap over the load location. =2D-=20 Anish Mistry --Boundary-02=_Bi4OBABKT65t+8c Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBBO4iBxqA5ziudZT0RAlLRAJ9DSxsyMOtpwtpxTgkrUehrt/kIqgCgn8J9 POqEhx5hRMtpSFS/jEq2TYQ= =Xq59 -----END PGP SIGNATURE----- --Boundary-02=_Bi4OBABKT65t+8c--