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 #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It seems entirely wrong for libc to be providing any __cxa entry point called
by the compiler, such as __cxa_thread_atexit. It should come from the C++
runtime, such as libsupc++, or libcxxabi, or FreeBSD's libcxxrt. We can work
around it, but it's still wrong.

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