This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] c++0x <mutex> and <condition_variable>
Hi again,
FAIL: 30_threads/call_once/call_once1.cc (test for excess errors)
WARNING: 30_threads/call_once/call_once1.cc compilation failed to
produce executable
This failure I have been able to reproduce when the new code for the
case of undefined _GLIBCXX_HAVE_TLS is enabled, even if the failure I
saw was a bit different.
Otherwise, all the new test pass for me also in that case...
Paolo.
/////////////////
2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
* config/abi/pre/gnu.ver: Also export __once_functor_lock; tighten
GLIBCXX_3.4 exports (necessary in case of undef _GLIBCXX_HAVE_TLS).
* Makefile.in: Regenerate.
* src/Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
Index: config/abi/pre/gnu.ver
===================================================================
*** config/abi/pre/gnu.ver (revision 139944)
--- config/abi/pre/gnu.ver (working copy)
*************** GLIBCXX_3.4 {
*** 131,137 ****
std::t[a-n]*;
std::tr1::h[^a]*;
std::t[s-z]*;
! std::[A-Zu-z]*;
std::_List_node_base::hook*;
std::_List_node_base::swap*;
std::_List_node_base::unhook*;
--- 131,141 ----
std::t[a-n]*;
std::tr1::h[^a]*;
std::t[s-z]*;
! # std::[A-Zu-z]*;
! std::underflow_error*;
! std::uncaught_exception*;
! std::unexpected*;
! std::[A-Zv-z]*;
std::_List_node_base::hook*;
std::_List_node_base::swap*;
std::_List_node_base::unhook*;
*************** GLIBCXX_3.4 {
*** 502,508 ****
_ZTVSt[0-9][A-Za-z]*;
# _ZTVSt[0-9][0-9][A-Za-z]*;
_ZTVSt[0-9][0-9][A-Z]*;
! _ZTVSt[0-9][0-9][a-d]*;
_ZTVSt[0-9][0-9][f-k]*;
_ZTVSt11logic_error;
_ZTVSt12length_error;
--- 506,517 ----
_ZTVSt[0-9][A-Za-z]*;
# _ZTVSt[0-9][0-9][A-Za-z]*;
_ZTVSt[0-9][0-9][A-Z]*;
! # _ZTVSt[0-9][0-9][a-d]*;
! _ZTVSt[0-9][0-9]a*;
! _ZTVSt10bad_typeid;
! _ZTVSt13bad_exception;
! _ZTVSt[0-9][0-9]basic*;
! _ZTVSt[0-9][0-9][c-d]*;
_ZTVSt[0-9][0-9][f-k]*;
_ZTVSt11logic_error;
_ZTVSt12length_error;
*************** GLIBCXX_3.4 {
*** 525,531 ****
_ZTISt[0-9][A-Za-z]*;
# _ZTISt[0-9][0-9][A-Za-z]*;
_ZTISt[0-9][0-9][A-Z]*;
! _ZTISt[0-9][0-9][a-d]*;
_ZTISt[0-9][0-9][f-k]*;
_ZTISt11logic_error;
_ZTISt12length_error;
--- 534,545 ----
_ZTISt[0-9][A-Za-z]*;
# _ZTISt[0-9][0-9][A-Za-z]*;
_ZTISt[0-9][0-9][A-Z]*;
! # _ZTISt[0-9][0-9][a-d]*;
! _ZTISt[0-9][0-9]a*;
! _ZTISt10bad_typeid;
! _ZTISt13bad_exception;
! _ZTISt[0-9][0-9]basic*;
! _ZTISt[0-9][0-9][c-d]*;
_ZTISt[0-9][0-9][f-k]*;
_ZTISt11logic_error;
_ZTISt12length_error;
*************** GLIBCXX_3.4 {
*** 550,558 ****
_ZTSNSt6locale5facetE;
_ZTSS[a-z];
_ZTSSt[0-9][A-Za-z]*;
! # _ZTSSt[0-9][0-9][A-Za-z]*;
_ZTSSt[0-9][0-9][A-Z]*;
! _ZTSSt[0-9][0-9][a-d]*;
_ZTSSt[0-9][0-9][f-k]*;
_ZTSSt11logic_error;
_ZTSSt12length_error;
--- 564,577 ----
_ZTSNSt6locale5facetE;
_ZTSS[a-z];
_ZTSSt[0-9][A-Za-z]*;
! # _ZTSSt[0-9][0-9][A-Za-z]*;
_ZTSSt[0-9][0-9][A-Z]*;
! # _ZTSSt[0-9][0-9][a-d]*;
! _ZTSSt[0-9][0-9]a*;
! _ZTSSt10bad_typeid;
! _ZTSSt13bad_exception;
! _ZTSSt[0-9][0-9]basic*;
! _ZTSSt[0-9][0-9][c-d]*;
_ZTSSt[0-9][0-9][f-k]*;
_ZTSSt11logic_error;
_ZTSSt12length_error;
*************** GLIBCXX_3.4.11 {
*** 863,868 ****
--- 882,888 ----
_ZSt11__once_call;
_ZSt15__once_callable;
_ZSt14__once_functor;
+ _ZSt19__once_functor_lock;
_ZSt11__once_lock;
_ZSt12__once_mutex;
__once_proxy;