https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106581
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2022-08-10 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This could be a bug in uclibc and TLS. The crash is related to TLS of: abi::__cxa_eh_globals* get_global() _GLIBCXX_NOTHROW { static __thread abi::__cxa_eh_globals global; return &global; } Can you provide the disassemble std::uncaught_exception of where the crash is located? just do "disassemble" in gdb.