From owner-freebsd-alpha Sun May 26 10:15:26 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 21EBC37B401 for ; Sun, 26 May 2002 10:15:20 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g4QHFJJn010496; Sun, 26 May 2002 10:15:19 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g4QHFIag010495; Sun, 26 May 2002 10:15:18 -0700 (PDT) Date: Sun, 26 May 2002 10:15:18 -0700 From: "David O'Brien" To: Dag-Erling Smorgrav Cc: alpha@freebsd.org Subject: Re: -ffast-math broken Message-ID: <20020526101518.A10455@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mail-Followup-To: David O'Brien , Dag-Erling Smorgrav , alpha@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from des@ofug.org on Thu, May 23, 2002 at 12:03:46AM +0200 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, May 23, 2002 at 12:03:46AM +0200, Dag-Erling Smorgrav wrote: > The -ffast-math gcc option is broken on Alpha because we don't build > or install crtfastmath.o as part of csu. Building & installing it > works, I've committed this part. > but doesn't help because it references __ieee_set_fp_control > which doesn't exist. This breaks (at least) the audio/mpg123 port, > though I must admit I don't know if it ever worked. http://www.humboldt.edu/cgi-bin/man2html?ieee explains the ieee_set_fp_control() routine we need to supply. Note that if you install the Compaq CCC compiler, you get the routines in /usr/lib/compaq/cpml-5.1.0/libcpml_ev*.* We could create the libcpml port and hack GCC to link with it when given -ffast-math. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message