From owner-freebsd-gnome Fri Dec 20 21:17:52 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA20237B401 for ; Fri, 20 Dec 2002 21:17:50 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49FE343EDC for ; Fri, 20 Dec 2002 21:17:50 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.6/8.12.6) with ESMTP id gBL5Gk3a072261 for ; Sat, 21 Dec 2002 00:16:46 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: HEADS UP: Nautilus 2 crashing on -CURRENT [FIXED] From: Joe Marcus Clarke To: FreeBSD GNOME Users In-Reply-To: <1040445231.29101.37.camel@shumai.marcuscom.com> References: <1040445231.29101.37.camel@shumai.marcuscom.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3gup8SU/uippcDJsXwv+" Organization: MarcusCom, Inc. Message-Id: <1040447870.29101.47.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 21 Dec 2002 00:17:51 -0500 X-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,IN_REP_TO,NOSPAM_INC,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT, REFERENCES,SPAM_PHRASE_00_01 version=2.43 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-3gup8SU/uippcDJsXwv+ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2002-12-20 at 23:33, Joe Marcus Clarke wrote: > I found the problem with Nautilus 2 on -CURRENT thanks to remote access > given by Mezz. However, my temporary solution kind of sucks. The > problem looks like an issue with gcc-3.2.1, and the code produced when > div.S is compiled on i386 (the problem is NOT with CPUTYPE as I had > initially suspected). >=20 > Basically, any call to div() is screwed. Nautilus just happens to do > this when scaling pixbufs. Therefore, you get a pixbuf full of garbage, > and Nautilus dies. I've sent email to current@, and I plan to get the > GCC people involved. For the time being, you can workaround this by > compiling the MI version of div(), div.c. To do this, do the following: >=20 > * Edit /usr/src/lib/libc/i386/stdlib/Makefile.inc, and remove div.S from > the list of MDSRCS > * Move /usr/src/lib/libc/i386/stdlib/div.S to div.S.bak > * Recompile libc by going to /usr/src/lib/libc, and issuing a make clean > ; make all install >=20 > Afterward, Nautilus should be better behaved. I hope a real solution to > this problem can be found before 5.0-RELEASE. As a follow-up, Tim Robbins just committed a fix for this to HEAD. If you pull down the src/lib/libc/i386/stdlib/[l]div.S from HEAD, you should be good to go. Joe >=20 > Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-3gup8SU/uippcDJsXwv+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+A/l+b2iPiv4Uz4cRArdTAJ4v7yfm5DGYfXZ9iwP4bNAkE2DJFACgilCS 1GYvx3Z6k0vPc8fU/eVbMSM= =BxJE -----END PGP SIGNATURE----- --=-3gup8SU/uippcDJsXwv+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message