Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2003 15:52:40 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Wilko Bulte <wkb@freebie.xs4all.nl>
Cc:        alpha@freebsd.org
Subject:   Re: floating point exception 8 in awk
Message-ID:  <xzp65o9n0if.fsf@flood.ping.uio.no>
In-Reply-To: <xzpaddln0rp.fsf@flood.ping.uio.no> (Dag-Erling Smorgrav's message of "Sat, 17 May 2003 15:47:06 %2B0200")
References:  <xzpiss9naek.fsf@flood.ping.uio.no> <20030517113906.GA25329@freebie.xs4all.nl> <xzpaddln0rp.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@ofug.org> writes:
> Wilko Bulte <wkb@freebie.xs4all.nl> writes:
> > FAQ, more of less. If you rebuild & install your awk with -mieee from then
> > on everything works again. -mieee is now the default on alpha.
> Yes, but this shouldn't happen inside the chroot since it's using
> either the awk from the buildworld preceding make relese, or the awk
> from the cross-tools stage of the chrooted buildworld, and both of
> these should have been built with -mieee...  though it seems they
> weren't, I can't find the string 'mieee' anywhere in the build logs.

Grrr...  found the bug: bsd.sys.mk adds -mieee to the _CPUCFLAGS
variable, which is ignored if NO_CPU_CFLAGS is set.  This is arguably
a bug since _CPUCFLAGS is supposed to control optimization, not
correctness, and setting NO_CPU_CFLAGS should improve correctness at
the expense of performance and not the other way around.

Any suggestions on how to fix this?

DES
-- 
Dag-Erling Smorgrav - des@ofug.org



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