[rrd-users] IEEE math configure problem on Solaris10/X86

Christian Kaufmann Christian.Kaufmann at egk.ch
Wed Nov 8 09:11:46 MET 2006


Hellas,
i have a small problem:

Same result with gcc 3.4.3 or 3.3.2.

***************************************************************
IEEE Math Checks
checking for fpclassify... no
checking for fpclassify with <math.h>... no
checking for finite... yes
checking for isinf... no
checking for isinf with <math.h>... no
checking if IEEE math works out of the box... no
checking if IEEE math works with the -ieee switch... no
checking if IEEE math works with the -qfloat=nofold switch... no
checking if IEEE math works with the -w -qflttrap=enable:zerodivide...
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_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)... 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 at oetiker.ch).
Check config.log to see what went wrong ...
***************************************************************

Config.log:


configure:21928: checking for fpclassify
configure:21985: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W
 -fPIC -DPIC   conftest.c -lm  >&5
Undefined                       first referenced
 symbol                             in file
fpclassify                          /var/tmp//cc2wwyTo.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:21991: $? = 1
configure: failed program was:
| /* confdefs.h.  */
...
configure:22493: result: no
configure:22511: checking if IEEE math works out of the box
configure:22592: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmisconftest.c:92:1: warning: "isinf" redefinedted-externs -Winline -W 
-fPIC -DPIC   conftest.c -lm  >&5
In file included from
/usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/include/math.h:26,
                 from conftest.c:74:
/usr/include/iso/math_c99.h:45:1: warning: this is the location of the
previous definition
conftest.c: In function `main':
conftest.c:119: warning: declaration of `nan' shadows a global
declaration
/usr/include/iso/math_c99.h:145: warning: shadowed declaration is here
conftest.c:128: warning: implicit declaration of function
`__builtin_isnan'
Undefined                       first referenced
 symbol                             in file
__builtin_isnan                     /var/tmp//ccuZmJ1w.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:22595: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
...
configure:22620: result: no
configure:22624: checking if IEEE math works with the -ieee switch
configure:22705: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmiscc1:
error: unrecognized option `-ieee'Wnested-externs -Winline -W  -fPIC
-DPIC -ieee    conftest.c -lm  >&5
configure:22708: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
...
configure:22733: result: no
configure:22737: checking if IEEE math works with the -qfloat=nofold
switch
configure:22818: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmisgcc:
unrecognized option `-qfloat=nofold'ested-externs -Winline -W  -fPIC
-DPIC -qfloat=nofold    conftest.c -lm  >&5
conftest.c:92:1: warning: "isinf" redefined
In file included from
/usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/include/math.h:26,
                 from conftest.c:74:
/usr/include/iso/math_c99.h:45:1: warning: this is the location of the
previous definition
conftest.c: In function `main':
conftest.c:119: warning: declaration of `nan' shadows a global
declaration
/usr/include/iso/math_c99.h:145: warning: shadowed declaration is here
conftest.c:128: warning: implicit declaration of function
`__builtin_isnan'
Undefined                       first referenced
 symbol                             in file
__builtin_isnan                     /var/tmp//ccSBqV8f.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:22821: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
...
configure:22846: result: no
configure:22850: checking if IEEE math works with the -w
-qflttrap=enable:zerodivide
configure:22931: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmising-prototypes -Wmissing-declarations -Wnested-externs -Winline -W 
-fPIC -DPIC -w -qflttrap=enable:zerodivide    conftest.c -lm  &gcc:
unrecognized option `-qflttrap=enable:zerodivide'
Undefined                       first referenced
 symbol                             in file
__builtin_isnan                     /var/tmp//ccs1kcQX.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:22934: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
...
configure:22959: result: no
configure:22963: checking if IEEE math works with the -mieee switch
configure:23044: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmiscc1:
error: invalid option `ieee'ions -Wnested-externs -Winline -W  -fPIC
-DPIC -mieee    conftest.c -lm  >&5
configure:23047: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
...
configure:23072: result: no
configure:23076: checking if IEEE math works with the -q float=rndsngl
switch
configure:23157: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmisgcc:
float=rndsngl: No such file or directoryd-externs -Winline -W  -fPIC
-DPIC -q float=rndsngl   conftest.c -lm  >&5
gcc: unrecognized option `-q'
conftest.c:92:1: warning: "isinf" redefined
In file included from
/usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/include/math.h:26,
                 from conftest.c:74:
/usr/include/iso/math_c99.h:45:1: warning: this is the location of the
previous definition
conftest.c: In function `main':
conftest.c:119: warning: declaration of `nan' shadows a global
declaration
/usr/include/iso/math_c99.h:145: warning: shadowed declaration is here
conftest.c:128: warning: implicit declaration of function
`__builtin_isnan'
configure:23160: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
...
configure:23185: result: no
configure:23189: checking if IEEE math works with the
-OPT:IEEE_NaN_inf=ON switch
configure:23270: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmiscc1:
error: invalid option `-OPT:IEEE_NaN_inf=ON'terns -Winline -W  -fPIC
-DPIC -OPT:IEEE_NaN_inf=ON    conftest.c -lm  >&5
configure:23273: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
...
configure:23298: result: no
configure:23302: checking if IEEE math works with the
-OPT:IEEE_comparisons=ON switch
configure:23383: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmiscc1:
error: invalid option `-OPT:IEEE_comparisons=ON's -Winline -W  -fPIC
-DPIC -OPT:IEEE_comparisons=ON   conftest.c -lm  >&5
configure:23386: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
...
configure:23411: result: no
configure:23415: checking if IEEE math works with fpsetmask(0)
configure:23496: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmisconftest.c:92:1: warning: "isinf" redefinedted-externs -Winline -W 
-fPIC -DPIC   conftest.c -lm  >&5
In file included from
/usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/include/math.h:26,
                 from conftest.c:74:
/usr/include/iso/math_c99.h:45:1: warning: this is the location of the
previous definition
conftest.c: In function `main':
conftest.c:119: warning: declaration of `nan' shadows a global
declaration
/usr/include/iso/math_c99.h:145: warning: shadowed declaration is here
conftest.c:128: warning: implicit declaration of function
`__builtin_isnan'
Undefined                       first referenced
 symbol                             in file
__builtin_isnan                     /var/tmp//ccIc27qP.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:23499: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
...
configure:23528: result: no
configure:23531: checking if IEEE math works with
signal(SIGFPE,SIG_IGN)
configure:23612: gcc -o conftest -g -O2 -fno-strict-aliasing -Wall
-std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -WmisIn file
included from /usr/include/sys/signal.h:34,rns -Winline -W  -fPIC -DPIC 
 conftest.c -lm  >&5
                 from /usr/include/signal.h:26,
                 from conftest.c:71:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:292: error: ISO C forbids data definition
with no type or storage class
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: ISO C forbids data definition
with no type or storage class
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of
`__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of
`__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of
`__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of
`__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of
`__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:426: error: ISO C forbids data definition
with no type or storage class
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: ISO C forbids data definition
with no type or storage class
/usr/include/sys/siginfo.h:432: error: parse error before
"k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
/usr/include/sys/siginfo.h:437: error: ISO C forbids data definition
with no type or storage class
In file included from /usr/include/signal.h:26,
                 from conftest.c:71:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from conftest.c:71:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
conftest.c:92:1: warning: "isinf" redefined
In file included from
/usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/include/math.h:26,
                 from conftest.c:74:
/usr/include/iso/math_c99.h:45:1: warning: this is the location of the
previous definition
conftest.c: In function `main':
conftest.c:119: warning: declaration of `nan' shadows a global
declaration
/usr/include/iso/math_c99.h:145: warning: shadowed declaration is here
conftest.c:128: warning: implicit declaration of function
`__builtin_isnan'
configure:23615: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
...








kind regards
Christian

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list