Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2003 18:40:37 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        David Schultz <das@FreeBSD.org>, current@FreeBSD.org, alpha@FreeBSD.org
Subject:   Re: HEADS UP: Don't upgrade your Alphas!
Message-ID:  <20030317164037.GB98100@sunbay.com>
In-Reply-To: <20030317161219.GA1429@sunbay.com> <200303150947.h2F9l5eQ028059@repoman.freebsd.org>
References:  <20030317161219.GA1429@sunbay.com> <200303150947.h2F9l5eQ028059@repoman.freebsd.org>

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

--1LKvkjL3sHcu1TtY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
>   FreeBSD src repository
>=20
>   Removed files:
>     lib/libc/stdlib      strtod.c=20
>   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 standards@.
>  =20
>   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!
>=20
> 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).
>=20
> 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.
>=20
> I haven't been able to reproduce this with 8th
> March libc, so the time window for the breakage
> is low.
>=20
> I suspect the recent gtdoa commit to libc; we
> will know that is less than an hour.


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

--1LKvkjL3sHcu1TtY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+dfqFUkv4P6juNwoRAgjFAJ46qT75LwA38ZKXzDtPWhEHcMgArACeNGP5
8P97haXxKZ7c4Q9pFnLuOfI=
=ddAa
-----END PGP SIGNATURE-----

--1LKvkjL3sHcu1TtY--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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