libstdc++ testsuite failure on AIX
Mark Mitchell
mark@codesourcery.com
Fri Mar 25 16:31:00 GMT 2005
David Edelsohn wrote:
> With help from Ian Lance Taylor on IRC, the problem appears to be
> due to the change from building testsuite_abi.cc with Make to building it
> in DejaGNU. Make cared about the exit code, but DejaGNU fails if any
> unexpected output is produced. On AIX, building testsuite_abi.cc produces
> an expected warning:
>
> /farm/dje/src/src/libstdc++-v3/testsuite/testsuite_abi.cc:1: warning: -ffunction-sections may affect debugging on some targets
Yes, that's very plausible. The typical DejaGNU way (rightly or
wrongly) of checking for errors is checking for any output from the
compiler.
> Daniel Jacobowitz suggests adding "-w" to the options, which does suppress
> the warning when tested manually.
I shall add post a patch to add -w.
Thanks,
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304
More information about the Libstdc++
mailing list