This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
What is "__gxx_personality_sj0"?
- From: Tihomir Mitkov <mitkovtihomir at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 22 Feb 2011 12:02:08 +0200
- Subject: What is "__gxx_personality_sj0"?
- References: <AANLkTikKGxE_fp3q9JrkQC5vG3zaqrvimNi+GOMLnhjY@mail.gmail.com>
I'm trying to compile a program with a library downloaded from
internet (Regular Expression implementation). I compile both my code
and the library with mingw gcc 4.4.3 with no problem. When I try to
link the library with my app `ld' complains about undefined references
to `__gxx_personality_sj0' , `std::allocator<char>
>::basic_string(std::string const&)', ?`_Unwind_SjLj_Unregister' and
some others. The error messages are many (probably hundreds).
According to what I have found in the Internet these errors come when
attempting to link object files compiled with different versions of
gcc. But I compiled them with only one and I used the `ld' that comes
with mingw.