=== libstdc++ tests === Running target unix FAIL: 22_locale/messages/members/char/1.cc execution test FAIL: 22_locale/messages/members/char/2.cc execution test FAIL: 22_locale/messages/members/char/wrapped_env.cc execution test FAIL: 22_locale/messages/members/char/wrapped_locale.cc execution test FAIL: 22_locale/messages_byname/named_equivalence.cc execution test XPASS: 26_numerics/cmath/c99_classification_macros_c.cc (test for excess errors) === libstdc++ Summary === # of expected passes 3613 # of unexpected failures 5 # of unexpected successes 1 # of expected failures 8 Compiler version: 4.1.0 20050312 (experimental) Platform: i686-pc-linux-gnu configure flags: --with-gnu-as --with-gnu-ld --disable-nls --enable-shared -- prefix=/home/dave/opt/gnu/gcc/gcc-4.1.0 --with-local-prefix=/home/dave/opt/gnu -- enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc= boehm --with-jacks --enable-java-awt=xlib --enable-languages=c,c++,f95,java,objc Probably, the locale tests shouldn't be run when --disable-nls is given. However, I think the actual cause of the fails is the fact that the catalogs aren't built in the po directory when USE_NLS = no.
This issue seems related (or maybe we should open a separate PR?) http://gcc.gnu.org/ml/gcc/2004-12/msg01140.html
Subject: Re: locale testsuite fails when GCC is configured with --disable-nls > This issue seems related (or maybe we should open a separate PR?) > > http://gcc.gnu.org/ml/gcc/2004-12/msg01140.html The effect of the missing po files is the same. However, I think there should be a separate PR for the above problem as it's really an issue of not creating the files when they should be created. Dave
Agreed, tomorrow will create one.
Subject: Bug 20448 Author: jsm28 Date: Fri Mar 24 01:59:35 2006 New Revision: 112346 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112346 Log: PR libstdc++/20448 PR libstdc++/20451 * scripts/testsuite_flags.in (--cxxflags): Don't define LOCALEDIR. * testsuite/lib/libstdc++.exp (libstdc++_init): Always define LOCALEDIR to ".". (v3-build_support): Build MO files. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/scripts/testsuite_flags.in trunk/libstdc++-v3/testsuite/lib/libstdc++.exp
Subject: Bug 20448 Author: jsm28 Date: Fri Mar 24 02:05:46 2006 New Revision: 112347 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112347 Log: PR libstdc++/20448 PR libstdc++/20451 * libstdc++-v3/scripts/testsuite_flags.in (--cxxflags): Don't define LOCALEDIR. * libstdc++-v3/testsuite/lib/libstdc++.exp (libstdc++_init): Always define LOCALEDIR to ".". (v3-build_support): Build MO files. Modified: branches/csl/sourcerygxx-4_1/ChangeLog.csl branches/csl/sourcerygxx-4_1/libstdc++-v3/scripts/testsuite_flags.in branches/csl/sourcerygxx-4_1/libstdc++-v3/testsuite/lib/libstdc++.exp
Fixed.
Subject: Bug 20448 Author: ghazi Date: Wed Apr 9 02:19:57 2008 New Revision: 134123 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134123 Log: Backport: 2006-03-24 Mark Mitchell <mark@codesourcery.com> Joseph S. Myers <joseph@codesourcery.com> PR libstdc++/20448 PR libstdc++/20451 * scripts/testsuite_flags.in (--cxxflags): Don't define LOCALEDIR. * testsuite/lib/libstdc++.exp (libstdc++_init): Always define LOCALEDIR to ".". (v3-build_support): Build MO files. Modified: branches/gcc-4_1-branch/libstdc++-v3/ChangeLog branches/gcc-4_1-branch/libstdc++-v3/scripts/testsuite_flags.in branches/gcc-4_1-branch/libstdc++-v3/testsuite/lib/libstdc++.exp