Re: Endless "declared 'static' but never defined" warnings with stage 2 & 3 compilers

2012-07-08 Thread t-rexky
On 2012-07-01, at 12:53 PM, Vincent Rivière wrote: > On 01/07/2012 16:16, t-rexky wrote: >> I discovered that if I rebuild stage 3 with BOOT_CFLAGS="-g -O0", the >> warnings in stage 3 compiler all disappear! > > This is extremely wierd! > > So it lo

Re: Endless "declared 'static' but never defined" warnings with stage 2 & 3 compilers

2012-07-01 Thread t-rexky
On 2012-06-17, at 11:54 PM, t-rexky wrote: > When I have a moment I will check my target configuration once again and if > this does not help I will spend some time with > a debugger to see if I can figure out where things go wrong. I'm afraid > though that I will get compl

Re: Endless "declared 'static' but never defined" warnings with stage 2 & 3 compilers

2012-06-17 Thread t-rexky
Thank you for your response! On 2012-06-12, at 8:03 AM, Vincent Rivière wrote: > On 11/06/2012 21:20, t-rexky wrote: >>> #include >>> #include >>> >>> int main() { >>> printf("%lf\n", acos(0.5)); >>> return 0; >>> } &

Endless "declared 'static' but never defined" warnings with stage 2 & 3 compilers

2012-06-11 Thread t-rexky
eaders/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) Similar warnings occur on every source file for built-in function declarations and functions declared in the included header files. I am completely perplexed that the stage1 compiler is working fine with no warning, yet stage2 and stage3 generate the warnings. The target configuration for all three stages is obviously identical and the build options are almost identical. And all three stages generate executables that appear to work just fine. I am obviously missing something in the target configuration but after reviewing the GCC Internals document I could not find anything obvious. I am struggling to identify the root cause of this issue and would very much appreciate any assistance, or even pointers on where to start looking. Tinkering with software is only a hobby for me and my knowledge runs out pretty rapidly... t-rexky