This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: AIX, Solaris 2.8 excess errors fails
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org, lucier at math dot purdue dot edu
- Date: Tue, 19 Feb 2002 14:34:12 -0500
- Subject: Re: AIX, Solaris 2.8 excess errors fails
- References: <200202191925.g1JJPId02265@fillmore.constant.com>
>>>>> Benjamin Kosnik writes:
Ben> David, I see what you are talking about now:
Ben> http://gcc.gnu.org/ml/gcc-testresults/2002-02/msg00425.html
Ben> These results are much better, agreed. Great news.
Ben> There appear to be some low-hanging, excess error failures that
Ben> remain. Can you post more details on them please?
One can be fixed. The other two cannot:
21_strings/capacity.cc and 27_io/ios_init.cc are static class
member which GCC wants to implement with weak symbols for COMDAT. This
requires weak symbol support in AIX.
Ben> FAIL: 21_strings/capacity.cc (test for excess errors)
Excess errors:
ld: 0711-317 ERROR: Undefined symbol: std::basic_string<A<B>, std::char_traits<A<B> >, std::allocator<A<B> > >::_Rep::_S_max_size
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
Ben> FAIL: 27_io/ios_init.cc (test for excess errors)
Excess errors:
ld: 0711-317 ERROR: Undefined symbol: std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> >::_Rep::_S_terminal
ld: 0711-317 ERROR: Undefined symbol: std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> >::_Rep::_S_max_size
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
I thought that there already was a patch posted for the
22_locale/money_get_members_char.cc compiler warning.
Ben> FAIL: 22_locale/money_get_members_char.cc (test for excess errors)
Excess errors:
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc: In member function `virtual std::money_base::pattern My_money_io::do_pos_format() const':
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc:355: warning: sorry: semantics of inline function static data `std::money_base::pattern pat' are wrong (you'll wind up with multiple copies)
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc:355: warning: you can work around this by removing the initializer
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc: In member function `virtual std::money_base::pattern My_money_io::do_neg_format() const':
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc:361: warning: sorry: semantics of inline function static data `std::money_base::pattern pat' are wrong (you'll wind up with multiple copies)
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc:361: warning: you can work around this by removing the initializer
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc: In member function `virtual std::money_base::pattern My_money_io_a::do_pos_format() const':
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc:464: warning: sorry: semantics of inline function static data `std::money_base::pattern
pat' are wrong (you'll wind up with multiple copies)
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc:464: warning: you can work around this by removing the initializer
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc: In member function `virtual std::money_base::pattern My_money_io_b::do_pos_format() const':
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc:481: warning: sorry: semantics of inline function static data `std::money_base::pattern pat' are wrong (you'll wind up with multiple copies)
/gcc/dje/src/libstdc++-v3/testsuite/22_locale/money_get_members_char.cc:481: warning: you can work around this by removing the initializer
Thanks, David