Date: Fri, 28 Jul 2000 00:12:16 -0400 (EDT) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Mark Abene <phiber@radicalmedia.com> Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: floating point troubles... Message-ID: <14721.506.302306.465457@grasshopper.cs.duke.edu> In-Reply-To: <20000708052236.D22774@radicalmedia.com> References: <20000708040526.C22774@radicalmedia.com> <Pine.BSF.4.21.0007080941070.66274-100000@salmon.nlsystems.com> <20000708052236.D22774@radicalmedia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
The problem is that libm is not being built with -mieee Try the patch below & rebuild your libm. Index: lib/msun/Makefile =================================================================== RCS file: /home/ncvs/src/lib/msun/Makefile,v retrieving revision 1.23 diff -u -r1.23 Makefile --- lib/msun/Makefile 1999/08/28 00:06:05 1.23 +++ lib/msun/Makefile 2000/07/28 03:57:21 @@ -45,11 +45,7 @@ .PATH: ${.CURDIR)/alpha ARCH= alpha ARCH_SRCS = s_copysign.S s_copysignf.S -# XXX Comment from NetBSD/Alpha: -# XXX LINT SIGFPEs in e_exp.c's strtod(). FP underflow/denorm software -# handling is broken (doesn't exist!) on the Alpha port. -# Stock gcc 2.7.2.1 doesn't understand these options. -#CFLAGS += -mtrap-precision=i -mfp-trap-mode=su +CFLAGS += -mtrap-precision=i -mfp-trap-mode=su .elif ${MACHINE_ARCH} == "i386" ARCH= i387 ARCH_PREFIX= ${ARCH}_ Even though it will produce slower code, I think we should be using this by default. Opinions? Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14721.506.302306.465457>