Re: more gpc bootstrapping errors
Peter <[email protected]> Thu, 17 Mar 2016 19:10:21 +0000
| Newsgroups | gmane.comp.compilers.gpc |
|---|---|
| Message-ID | <[email protected]> |
On 14/03/16 12:13, Treutwein Bernhard wrote: > .... > ../gcc-3.4.6/gcc/unwind-dw2.c: In function `uw_frame_state_for': > ../gcc-3.4.6/gcc/unwind-dw2.c:1031: error: field `info' has incomplete type > .... This patch should help. _______________________________________________ Gpc mailing list [email protected] https://www.g-n-u.de/mailman/listinfo/gpc
gpc-i386.patch
(text/x-patch, 637 B)
Description: fix for failing i386 build
Origin: http://software.opensuse.org/package/gpc
Author: Trevor Blight
Last-Update: <2013-04-11>
--- gpc-3.4-20070904.orig/gcc-3.4.6/gcc/config/i386/linux.h
+++ gpc-3.4-20070904/gcc-3.4.6/gcc/config/i386/linux.h
@@ -235,9 +235,9 @@ Boston, MA 02111-1307, USA. */
{ \
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; \
sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \