https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112997
Thomas Schwinge <tschwinge at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org, | |tschwinge at gcc dot gnu.org --- Comment #11 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- ACK; I had the same change in my WIP tree: In my GCN and nvptx target libstdc++ work (WIP), I see: [...]/source-gcc/libstdc++-v3/libsupc++/eh_call.cc:39:1: error: conflicting C language linkage declaration ‘void __cxa_call_terminate(void*)’ [-Werror] 39 | __cxa_call_terminate(void* ue_header_in) throw () | ^~~~~~~~~~~~~~~~~~~~ In file included from [...]/source-gcc/libstdc++-v3/libsupc++/eh_call.cc:28: [...]/source-gcc/libstdc++-v3/libsupc++/unwind-cxx.h:170:17: note: previous declaration ‘void __cxxabiv1::__cxa_call_terminate(_Unwind_Exception*)’ 170 | extern "C" void __cxa_call_terminate (_Unwind_Exception*) throw () | ^~~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors make[4]: *** [eh_call.lo] Error 1