Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Wed, 26 Nov 2014 09:49:46 -0500
From: stephen Turner <>
	"" <>
Subject: GCC 4.2.1 bug

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.

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.