View previous topic :: View next topic |
Author |
Message |
Klavs Guru
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Fri Oct 11, 2002 10:24 am Post subject: rrdtool - IEEE math not supported by gcc? |
|
|
Hi guys,
I'm trying to compile rrdtool on my via C3 system (with gcc-3.2) and gets this output:
checking for fpclassify with <math.h>... no
checking for finite... yes
checking for isinf... yes
checking if realloc can deal with NULL... yes
checking if IEEE math works out of the box... nan == nan ... no
checking if IEEE math works with the -ieee switch... no
checking if IEEE math works with the -qfloat=nofold switch... nan == nan ... no
checking if IEEE math works with the -w -qflttrap=enable:zerodivide... nan == nan ... no
checking if IEEE math works with the -mieee switch... no
checking if IEEE math works with the -q float=rndsngl switch... no
checking if IEEE math works with the -OPT:IEEE_comparisons=ON switch... no
checking if IEEE math works with fpsetmask(0)... no
checking if IEEE math works with signal(SIGFPE,SIG_IGN)... nan == 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 ...
do you guys have any clue whats up here? _________________ Best regards,
Klavs Klavsen
Denmark
Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38. |
|
Back to top |
|
|
Klavs Guru
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Fri Oct 11, 2002 10:41 am Post subject: |
|
|
I got an answer from tobias oetiker:
you that you have to figure out how to
compile the test code in configure.in propperly ...
any ideas how I should go on, doing that?
I read some posts about a -miee compile option helping sun users.. but that's it.
Could this have anything to do with my current compile flags:
CFLAGS="-march=i586 -m3dnow -O3 -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-function
s=4"
Thankyou in advance. _________________ Best regards,
Klavs Klavsen
Denmark
Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38. |
|
Back to top |
|
|
Klavs Guru
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Fri Oct 11, 2002 10:52 am Post subject: |
|
|
rrdtool-1.3.9 compiled fine with the following flags:
-march=i586 -02 -pipe
guess I was just optimizing too much _________________ Best regards,
Klavs Klavsen
Denmark
Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38. |
|
Back to top |
|
|
flow23 n00b
Joined: 29 Nov 2002 Posts: 9 Location: Cologne, Germany
|
Posted: Sun Mar 16, 2003 5:52 pm Post subject: I Know this is old |
|
|
Just found it today and wanted to add my 2 cents:
For me it didn't compile with:
CFLAGS=-O3 -mcpu=pentium3 -march=i686 -ffast-math -fomit-frame-pointer -mmmx -msse -pipe
but compiled with:
CFLAGS=-O3 -mcpu=pentium3 -march=i686 -fomit-frame-pointer -mmmx -msse -pipe
so it seems to be the -ffast-math optimization.
Greetings from Cologne, Germany
fLOW |
|
Back to top |
|
|
kozmic n00b
Joined: 29 Oct 2002 Posts: 33
|
Posted: Sun Jul 20, 2003 3:00 am Post subject: |
|
|
Thanks.
Removing --ffast-math helped me getting rrdtool installed. |
|
Back to top |
|
|
|