This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++ testsuite failure on AIX


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]