[help] undefined reference to `_Unwind_SjLj_Register'

Andrew Haley aph@redhat.com
Mon Mar 24 12:07:00 GMT 2008

Deepak Barua wrote:

>                 I am trying to run crosstest for the new toolchain i
> built but i am getting this linking error.
> (Have attached file with errors )
> Can you tell me what seems to be the problem ...?
> I am compiling the toolchain with NPTL and TLS support for the ARM
> architecture gcc-4.2.2 and glibc-2.7
> Should i enable sjlj exceptions while compiling gcc-4.2.2 ...?
> But as i understand from your post
> http://sourceware.org/ml/libc-ports/2005-11/msg00030.html
> enabling sjlj exception handling is a obsolete method of exception
> handling .... so what can i do ....?

That depends on whether it's armel or arm.  This is your kernel: it'll
be one or the other.  If it's arm you use sjlj.


More information about the Gcc-help mailing list