This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libstdc++/78968] conflict between gnu's __cxa_thread_atexit and LLVM's/FreeBSD's implementation


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78968

--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Jan  4 15:41:19 2017
New Revision: 244057

URL: https://gcc.gnu.org/viewcvs?rev=244057&root=gcc&view=rev
Log:
PR78968 add configure check for __cxa_thread_atexit in libc

        PR libstdc++/78968
        * config.h.in: Regenerate.
        * configure: Likewise.
        * configure.ac: Check for __cxa_thread_atexit.
        * libsupc++/atexit_thread.cc [_GLIBCXX_HAVE___CXA_THREAD_ATEXIT]:
        Don't define __cxa_thread_atexit if libc provides it.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/config.h.in
    trunk/libstdc++-v3/configure
    trunk/libstdc++-v3/configure.ac
    trunk/libstdc++-v3/libsupc++/atexit_thread.cc

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