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++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support


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

--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Philip Deegan from comment #17)
> However, if a thread calls std::current_exception it segfaults in
> libstdc++-v3/libsupc++/eh_ptr.cc line 190:
> __cxa_exception *header = globals->caughtExceptions;
> 
> Can only test static pthread linking currently with Wl,--whole-archive
> -lpthread -Wl,--no-whole-archive

Please file a new bug for that, thanks.

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