This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
don't know how compiler supports IEEE math on debian alpha port
- From: Steffen dot Pelzetter at nexans dot com
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 9 Jan 2007 08:36:44 +0100
- Subject: don't know how compiler supports IEEE math on debian alpha port
Hello,
this time I try to compile the rrdtool-1.2.15.
But that fails by running the ./configure command.
The following error is logged:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IEEE Math Checks
checking for fpclassify... no
checking for fpclassify with <math.h>... yes
checking for finite... yes
checking for isinf... yes
checking if IEEE math works out of the box... not isnan(NaN) ... no
checking if IEEE math works with the -ieee switch... no
checking if IEEE math works with the -qfloat=nofold switch... not
isnan(NaN) ... no
checking if IEEE math works with the -w -qflttrap=enable:zerodivide... not
isnan(NaN) ... no
checking if IEEE math works with the -mieee switch... not isnan(NaN) ...
no
checking if IEEE math works with the -q float=rndsngl switch... no
checking if IEEE math works with the -OPT:IEEE_NaN_inf=ON 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)... 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 (tobi@oetiker.ch).
Check config.log to see what went wrong ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I tried 2 compiler versions 3.3.5, 4.1.1 having the same problem.
In config.log I've found the following problem may be related to this
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
configure:22957: checking if IEEE math works with the -mieee switch
configure:23038: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wm
issing-declarations -Wnested-externs -Winline -W -fPIC -DPIC -mieee
conftest.c -lm >&5
conftest.c: In function `main':
conftest.c:118: warning: declaration of `nan' shadows a global declaration
/usr/include/bits/mathcalls.h:225: warning: shadowed declaration is here
configure:23041: $? = 0
configure:23043: ./conftest
configure:23046: $? = 1
configure: program exited with status 1
configure: failed program was:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Steffen Pelzetter
Abt.: IT
Tel. + 49 36962 29 309 Fax. +49 36962 29 345
www.nexans.de
______________________________________________
Nexans Deutschland Industries GmbH & Co. KG
Einersbergstraße 1 36404 Vacha
Sitz: Hannover Amtsgericht Hannover HRA 25339
Persönlich haftende Gesellschafterin: Nexans Deutschland GmbH
Sitz: Hannover Amtsgericht Hannover HRB 60648
Geschäftsführer: Dr. Wolfgang Bedorf (Vors.), Christof Barklage
Vorsitzender des Aufsichtsrats: Yvon Raak