From owner-freebsd-current@FreeBSD.ORG Tue Apr 22 07:41:55 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 7BC7E37B401 for ; Tue, 22 Apr 2003 07:41:55 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B244E43F3F for ; Tue, 22 Apr 2003 07:41:54 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.9/8.12.9) with ESMTP id h3MEfsMS000163 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 22 Apr 2003 10:41:54 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h3MEfmV70279; Tue, 22 Apr 2003 10:41:48 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16037.21676.880845.922396@grasshopper.cs.duke.edu> Date: Tue, 22 Apr 2003 10:41:48 -0400 (EDT) To: Rob B In-Reply-To: <5.2.0.9.2.20030422191917.026d30b0@127.0.0.1> References: <5.2.0.9.2.20030422191917.026d30b0@127.0.0.1> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 14:41:55 -0000 Rob B writes: > This is an email sent to alpha@, but I thought I'd post it > here. Alpha-based systems running -current were (are?) having a problem > building world and failing at the point of building truss. > > ===> 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 > 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 > > Stop in /usr/src/usr.bin/truss. > *** Error code 1 > > The suggested fix was to make and install libc and awk, then perform a > buildworld. The one step we left out of this over on -alpha, which is probably why it didn't work for you the first time, is that you need to update /usr/share/mk. The idea is that the libc and awk need to be compiled with -mieee so that floating point isn't broken. This addition to the CFLAGs has been made recently. Drew