Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2008 15:37:53 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        dirk.meyer@dinoex.sub.org, freebsd-alpha@freebsd.org
Subject:   Re: graphviz port build fails on alpha FBSD 6.3
Message-ID:  <20080710143753.GA42554@mech-cluster238.men.bris.ac.uk>
In-Reply-To: <g554d4$13km$1@kemoauc.mips.inka.de>
References:  <20080705155035.GA88847@mech-cluster238.men.bris.ac.uk> <20080705201242.GA20124@mech-cluster238.men.bris.ac.uk> <wL/o24ETr%2B@dmeyer.dinoex.sub.org> <20080707134004.GA74030@mech-cluster238.men.bris.ac.uk> <g554d4$13km$1@kemoauc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 10, 2008 at 01:55:48PM +0000, Christian Weisgerber wrote:
> Anton Shterenlikht <mexas@bristol.ac.uk> wrote:
> 
> >    6931 configure:9309: cc -o conftest -O -pipe -mcpu=ev6 -mieee
> > 	-Wstrict-prototypes -Wpointer-arith -Wall -ffast-math
> > 	-I/usr/local/include -I/usr/local/include
> > 	-L/usr/local/lib -L/usr/local/lib conftest.c  >&5
> >    6932 conftest.c:86: warning: function declaration isn't a prototype
> >    6933 conftest.c:96: warning: function declaration isn't a prototype
> >    6934 /usr/lib/crtfastmath.o(.text+0x1c): In function `set_fast_math':
> >    6935 : undefined reference to `__ieee_set_fp_control'
> 
> -ffast-math isn't supported on alpha.  Don't use it.  Ports that
> unconditionally use it need to be fixed.

Naddy thanks, just in time!
I was just discussing this with the port maintainer.
Actually if I put

	CFLAGS= -O -pipe -ffast-math

in /etc/make.conf I get stopped at the config stage:

        configure:3832: error: C compiler cannot create executables

I cannot find much info on -ffast-math. Could you please expand on your
answer.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423



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