Re: [PATCH] libstdc++: add _GLIBCXX_ macro prefix in atexit_thread.cc

2014-07-30 Thread Zifei Tong
On Wed, Jul 30, 2014 at 11:25 PM, Jonathan Wakely wrote: > On 30/07/14 22:42 +0800, Zifei Tong wrote: >> >> Hi, >> >> I found an issue that the __cxa_thread_atexit_impl() function never called >> by >> __cxa_thread_atexit() even with newest glibc

[PATCH] libstdc++: add _GLIBCXX_ macro prefix in atexit_thread.cc

2014-07-30 Thread Zifei Tong
_GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL which is defined in bits/c++config.h (generated from autoconf scripts). This patch adds the missing macro prefix. Thanks, Zifei 2014-07-29 Zifei Tong * libsupc++/atexit_thread.cc: add _GLIBCXX_ macro prefix --- libstdc++-v3/libsupc++/atexit_thread.cc | 6 +++--- 1 file changed, 3