From owner-freebsd-current@FreeBSD.ORG Tue Apr 22 02:53:32 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 EE2C037B401 for ; Tue, 22 Apr 2003 02:53:32 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A37D43F85 for ; Tue, 22 Apr 2003 02:53:28 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h3M9rM62035473 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Apr 2003 12:53:23 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h3M9rMBr035468; Tue, 22 Apr 2003 12:53:22 +0300 (EEST) (envelope-from ru) Date: Tue, 22 Apr 2003 12:53:22 +0300 From: Ruslan Ermilov To: Rob B Message-ID: <20030422095322.GB34580@sunbay.com> References: <5.2.0.9.2.20030422191917.026d30b0@127.0.0.1> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f2QGlHpHGjS2mn6Y" Content-Disposition: inline In-Reply-To: <5.2.0.9.2.20030422191917.026d30b0@127.0.0.1> User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org Subject: Re: libc.so hosed - how to fix? WAS Re: Truss refuses to build? 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: Tue, 22 Apr 2003 09:53:33 -0000 --f2QGlHpHGjS2mn6Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 22, 2003 at 07:22:55PM +1000, Rob B wrote: > This is an email sent to alpha@, but I thought I'd post it=20 > here. Alpha-based systems running -current were (are?) having a problem= =20 > building world and failing at the point of building truss. >=20 > =3D=3D=3D> usr.bin/truss > cp /usr/src/usr.bin/truss/../../sys/kern/syscalls.master syscalls.master > /bin/sh /usr/src/usr.bin/truss/../../sys/kern/makesyscalls.sh=20 > syscalls.master /usr/src/usr.bin/truss/i386.conf > awk: floating point exception 8 > input record number 325, file > source line number 87 > *** Error code 2 >=20 > Stop in /usr/src/usr.bin/truss. > *** Error code 1 >=20 > The suggested fix was to make and install libc and awk, then perform a=20 > buildworld. >=20 >=20 > At 11:36 PM 19/04/03, Rob B sent this up the stick: > >At 11:28 PM 19/04/03, Philip Paeps sent this up the stick: > >>I only rebuilt libc and awk, if I recall correctly. Don't forget to=20 > >>install > >>them as well :-) > > > >I did, and the subsequent buildworld still bombed at the same point > > > >I'm redoing it again from a clean /usr/obj >=20 > Bugger...... my system has hosed libc.so.5 (actually, libc.so.anything=20 > isn't anywhere to be found), so now it seems like it can't do=20 > _anything_. Could anyone offer advice on where to from here? >=20 There are plenty of options, including booting off the installation CD-ROM, using the fixit option, and copying libc.so.* to /usr/lib. Another option would be to boot in single-user mode, mount /usr and a floppy, and copy floppy contents (libc.so.*) to /usr/lib. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --f2QGlHpHGjS2mn6Y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+pRESUkv4P6juNwoRArIXAJ9J3gEnU8XQsmMKp/3txtoqEq413wCfT9+1 /PzAu4Lez0jFETPVcfWgZwo= =RaEE -----END PGP SIGNATURE----- --f2QGlHpHGjS2mn6Y--