From owner-freebsd-ports Mon Mar 12 13:10: 8 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 24FBE37B71A for ; Mon, 12 Mar 2001 13:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2CLA2X01470; Mon, 12 Mar 2001 13:10:02 -0800 (PST) (envelope-from gnats) Received: from yertle.kciLink.com (yertle.kciLink.com [208.184.13.195]) by hub.freebsd.org (Postfix) with ESMTP id 70ABE37B719 for ; Mon, 12 Mar 2001 13:04:03 -0800 (PST) (envelope-from khera@kciLink.com) Received: from onceler.kciLink.com (onceler.kciLink.com [208.184.13.196]) by yertle.kciLink.com (Postfix) with ESMTP id D5B462E440 for ; Mon, 12 Mar 2001 16:04:01 -0500 (EST) Received: (from khera@localhost) by onceler.kciLink.com (8.11.3/8.11.1) id f2CL41A56436; Mon, 12 Mar 2001 16:04:01 -0500 (EST) (envelope-from khera) Message-Id: <200103122104.f2CL41A56436@onceler.kciLink.com> Date: Mon, 12 Mar 2001 16:04:01 -0500 (EST) From: Reply-To: khera@kciLink.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/25750: rrdtool port fails to build with -ffast-math -mfancy-math-387 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25750 >Category: ports >Synopsis: ports/net/rrdtool fails to build with CC hardware math options >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 12 13:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 4.3-BETA i386 >Organization: >Environment: System: FreeBSD onceler.kciLink.com 4.3-BETA FreeBSD 4.3-BETA #1: Wed Mar 7 13:44:04 EST 2001 khera@yertle.kciLink.com:/u/yertle2/usr.obj/amd/onceler/u/onceler1/usr/src/sys/ONCELER i386 ports cvsup'd today; world from march 7. >Description: in /etc/make.conf, I have CFLAGS+= -ffast-math -mfancy-math-387 which apparently causes IEEE math to fail in GCC, leading to my problem: rrdtool dies during its self config at build time. When it croaks, it spits out the entire config.log making it hard to see the real error... this is what you get if you can scroll back a bazillion lines: checking if IEEE math works with the -OPT:IEEE_comparisons=ON switch... no checking if IEEE math works with fpsetmask(0)... not isnan(NaN) ... no checking if IEEE math works with signal(SIGFPE,SIG_IGN)... not isnan(NaN) ... no configure: error: Your Compiler does not do propper IEEE math ... Please find out how to make IEEE math work with your compiler and let me know (oetiker@ee.ethz.ch). Check config.log to see what went wrong ... >How-To-Repeat: cd /usr/ports/net/rrdtool make >Fix: don't specify -ffast-math -mfancy-math-387 to the compiler. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message