From owner-freebsd-current@FreeBSD.ORG Thu Jun 17 10:18:18 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 0F57916A4CE for ; Thu, 17 Jun 2004 10:18:18 +0000 (GMT) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id D99DF43D39 for ; Thu, 17 Jun 2004 10:18:17 +0000 (GMT) (envelope-from tim@robbins.dropbear.id.au) Received: from robbins.dropbear.id.au (210.50.249.40) by smtp01.syd.iprimus.net.au (7.0.024) id 40B7A0DA005ADAD7 for current@freebsd.org; Thu, 17 Jun 2004 20:17:39 +1000 Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id 137DD41F5; Thu, 17 Jun 2004 20:20:15 +1000 (EST) Date: Thu, 17 Jun 2004 20:20:14 +1000 From: Tim Robbins To: current@freebsd.org Message-ID: <20040617102014.GA53174@cat.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Strange FP problems 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: Thu, 17 Jun 2004 10:18:18 -0000 While trying to build a kernel on amd64, I always get this error: $ make emu10k1-alsa%diked.h CC=cc AWK=awk sh ../../../tools/emu10k1-mkalsa.sh ../../../gnu/dev/sound/pci/emu 10k1-alsa.h emu10k1-alsa%diked.h awk: floating point exception 8 input record number 84, file source line number 3 The input record in question is this: #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 I can easily reproduce the problem with: $ echo 4.9406564584124654e-324 | awk '{ print; }' awk: floating point exception 8 source line number 1 That command succeeds on sledge.freebsd.org, and it can successfully compile a kernel. I'm using a top-of-the-tree (as of this writing) GENERIC kernel built on a known-good machine (sledge), and the problems even occur with a static awk binary built on sledge. Ideas? Tim