[Aboriginal] GCC 4.2.1 bug

stephen Turner stephen.n.turner at gmail.com
Wed Nov 26 06:49:46 PST 2014

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.


diff --git a/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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/aboriginal-landley.net/attachments/20141126/c8169586/attachment.htm>

More information about the Aboriginal mailing list