Yes, as I have suspected, the gdtoa change is responsible
for a breakage.  libc corresponding to this lib/libc works:

        cvs -q up -P -d -D'2003/03/12 20:20:00'

: Using /home/ru/w/f/usr.bin/awk/nawk nawk...

This version, together with contrib/gdtoa, doesn't:

        cvs -q up -P -d -D'2003/03/12 20:29:59'

: Using /home/ru/w/f/usr.bin/awk/nawk nawk...
: nawk: floating point exception 8
:  input record number 325, file
:  source line number 84

To see the breakage, one needs to install new libc, and
run (assuming that /usr/bin/nawk is dynamically linked)
make in usr.bin/truss; this will run the awk(1) script
that exhibits one of these FPEs.

P.S.  Hmm, I didn't test this on i386, as I found this
bug when attempting to produce a cross-release of i386
on Alpha, so i386's may be affected too.  Will see.

On Sat, Mar 15, 2003 at 01:47:05AM -0800, David Schultz wrote:
> das         2003/03/15 01:47:05 PST
> 
>   FreeBSD src repository
> 
>   Removed files:
>     lib/libc/stdlib      strtod.c 
>   Log:
>   The gdtoa import apparently hasn't caused anything or anyone to
>   explode, so nix the old strtod() / dtoa().  This change is part
>   of the gdtoa patches reviewed on [EMAIL PROTECTED]
>   
>   Revision  Changes    Path
>   1.26      +0 -2429   src/lib/libc/stdlib/strtod.c (dead)

On Mon, Mar 17, 2003 at 06:12:19PM +0200, Ruslan Ermilov wrote:
> Hi!
> 
> Hold off upgrading your Alphas for a moment.
> Something broke libc recently that results in
> (at least) floating point exceptions from
> awk(1) (this is not related to today's awk
> upgrade).
> 
> I've been able to reproduce this on beast.freebsd.org
> by building the fresh libc.a and linking awk with
> it, and running a test case.
> 
> I haven't been able to reproduce this with 8th
> March libc, so the time window for the breakage
> is low.
> 
> I suspect the recent gtdoa commit to libc; we
> will know that is less than an hour.


Cheers,
-- 
Ruslan Ermilov          Sysadmin and DBA,
[EMAIL PROTECTED]               Sunbay Software AG,
[EMAIL PROTECTED]               FreeBSD committer,
+380.652.512.251        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to