Thank you very much for your response! On 2012-06-07, at 4:52 PM, Ángel González wrote: >> On 2012-06-06, at 10:11 PM, t-rexky wrote: >> >>> Compiling with the stage 2 xgcc -Wall or -Wunused generates an endless list of warnings of the following type: >>> >>> <built-in>:0: warning: '__builtin_acos' declared 'static' but never defined >>> <built-in>:0: warning: 'acos' declared 'static' but never defined >>> >>> t-rexky > Have you tried building a program which uses acos or __builtin_acos? Here are is the compiler and executable output with various compile options: > Eg. > #include <math.h> > #include <stdio.h> > > int main() { > printf("%lf\n", acos(0.5)); > return 0; > } nextstep[Tests]$xgcc acos_test.c -o acos_test <built-in>:0: warning: '__builtin_acos' used but never defined /NextDeveloper/Headers/ansi/math.h:55: warning: 'acos' used but never defined <built-in>:0: warning: '__builtin_printf' used but never defined /NextDeveloper/Headers/ansi/stdio.h:123: warning: 'printf' used but never defined nextstep[Tests]$./acos_test 1.047198 nextstep[Tests]$xgcc acos_test.c -o acos_test -O nextstep[Tests]$./acos_test 1.047198 > #include <math.h> > #include <stdio.h> > > int main() { > printf("%lf\n", __builtin_acos(0.5)); > return 0; > } nextstep[Tests]$xgcc builtin_acos_test.c -o builtin_acos_test <built-in>:0: warning: '__builtin_acos' used but never defined /NextDeveloper/Headers/ansi/math.h:55: warning: 'acos' used but never defined <built-in>:0: warning: '__builtin_printf' used but never defined /NextDeveloper/Headers/ansi/stdio.h:123: warning: 'printf' used but never defined nextstep[Tests]$./builtin_acos_test 1.047198 nextstep[Tests]$xgcc builtin_acos_test.c -o builtin_acos_test -O nextstep[Tests]$./builtin_acos_test 1.047198 nextstep[Tests]$xgcc builtin_acos_test.c -o builtin_acos_test -Wall <built-in>:0: warning: '__builtin_acos' used but never defined /NextDeveloper/Headers/ansi/math.h:55: warning: 'acos' used but never defined <built-in>:0: warning: '__builtin_acosf' declared 'static' but never defined <built-in>:0: warning: 'acosf' declared 'static' but never defined <built-in>:0: warning: '__builtin_acosh' declared 'static' but never defined /NextDeveloper/Headers/ansi/math.h:24: warning: 'acosh' declared 'static' but never defined <built-in>:0: warning: '__builtin_acoshf' declared 'static' but never defined <built-in>:0: warning: 'acoshf' declared 'static' but never defined <built-in>:0: warning: '__builtin_acoshl' declared 'static' but never defined <built-in>:0: warning: 'acoshl' declared 'static' but never defined <built-in>:0: warning: '__builtin_acosl' declared 'static' but never defined <built-in>:0: warning: 'acosl' declared 'static' but never defined <built-in>:0: warning: '__builtin_asin' declared 'static' but never defined /NextDeveloper/Headers/ansi/math.h:56: warning: 'asin' declared 'static' but never defined <built-in>:0: warning: '__builtin_asinf' declared 'static' but never defined <built-in>:0: warning: 'asinf' declared 'static' but never defined <built-in>:0: warning: '__builtin_asinh' declared 'static' but never defined /NextDeveloper/Headers/ansi/math.h:23: warning: 'asinh' declared 'static' but never defined ^C (I aborted here since xgcc spits out an endless list of similar warnings, but the resultant executable works) nextstep[Tests]$xgcc builtin_acos_test.c -o builtin_acos_test -O -Wall <built-in>:0: warning: '__builtin_acos' declared 'static' but never defined /NextDeveloper/Headers/ansi/math.h:55: warning: 'acos' declared 'static' but never defined <built-in>:0: warning: '__builtin_acosf' declared 'static' but never defined <built-in>:0: warning: 'acosf' declared 'static' but never defined <built-in>:0: warning: '__builtin_acosh' declared 'static' but never defined /NextDeveloper/Headers/ansi/math.h:24: warning: 'acosh' declared 'static' but never defined <built-in>:0: warning: '__builtin_acoshf' declared 'static' but never defined <built-in>:0: warning: 'acoshf' declared 'static' but never defined <built-in>:0: warning: '__builtin_acoshl' declared 'static' but never defined <built-in>:0: warning: 'acoshl' declared 'static' but never defined <built-in>:0: warning: '__builtin_acosl' declared 'static' but never defined <built-in>:0: warning: 'acosl' declared 'static' but never defined <built-in>:0: warning: '__builtin_asin' declared 'static' but never defined /NextDeveloper/Headers/ansi/math.h:56: warning: 'asin' declared 'static' but never defined <built-in>:0: warning: '__builtin_asinf' declared 'static' but never defined <built-in>:0: warning: 'asinf' declared 'static' but never defined <built-in>:0: warning: '__builtin_asinh' declared 'static' but never defined /NextDeveloper/Headers/ansi/math.h:23: warning: 'asinh' declared 'static' but never defined ^C (I aborted here since xgcc spits out an endless list of similar warnings, but the resultant executable works) > (the first one may need to link with -lm, but not the second) > I would appreciate any suggestions as to what might be going on since I am completely confused. Thank you!