Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 10:41:48 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Rob B <rbyrnes@ozemail.com.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: libc.so hosed - how to fix? WAS Re: Truss refuses to build?
Message-ID:  <16037.21676.880845.922396@grasshopper.cs.duke.edu>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16037.21676.880845.922396>