Hey. I'm looking at some of the new fails on cygwin and AIX. Both of
these platforms have fails that don't happen on linux. These fails
look like:

cc1plus: warnings being treated as errors

/cygdrive/e/gnu/gcc-4.3-20070511/libstdc++-v3/testsuite/17_intro/headers/all_c++200x_compatibility.cc:1:
error: -ffunction-sections may affect debugging on some targets

compiler exited with status 1
output is:
cc1plus: warnings being treated as errors

/cygdrive/e/gnu/gcc-4.3-20070511/libstdc++-v3/testsuite/17_intro/headers/all_c++200x_compatibility.cc:1:
error: -ffunction-sections may affect debugging on some targets


FAIL: 17_intro/headers/all_c++200x_compatibility.cc (test for excess errors)
Excess errors:
cc1plus: warnings being treated as errors


The compile lines look the same, ie same flags on AIX, linux, cygwin.
Why is the behavior different?

Is this actually an error with -ffunction-sections on these platforms?
I certainly don't see this warning/error on linux: what's up? If so,
why is dejagnu giving me  the incorrect info? (Is it because of
ffunction-sections warnings being trimmed?)

And if this is an issue with -ffunction-sections, why not just say
that function-sections is not supported on this platform, full stop?

This certainly seems to be the case:
http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options

-benjamin

Reply via email to