I dont know who is using gcc 4.2.1 anymore besides me, and some of you will be aware of this bug im sure but while i was compiling gcc-4.2.1 I ran int a error with linux-unwind.h and as it turns out you have to patch the header to compile without newlib support. For anyone interested i am copying over the link and patch. this is only for i386 as that is all im using and all i found thus far. http://forge.ispras.ru/issues/4295 diff --git a/libgcc/config/i386/linux-unwind.h b/libgcc/config/i386/linux-unwind.h index f17a46c..33810c5 100644 --- a/libgcc/config/i386/linux-unwind.h +++ b/libgcc/config/i386/linux-unwind.h @@ -139,9 +139,9 @@ x86_fallback_frame_state (struct _Unwind_Context *context, { struct rt_sigframe { int sig; - struct siginfo *pinfo; + siginfo_t *pinfo; void *puc; - struct siginfo info; + siginfo_t info; struct ucontext uc; } *rt_ = context->cfa; /* The void * cast is necessary to avoid an aliasing warning.