Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 380154 Details for
Bug 516276
sys-devel/gcc-3.4.6-r2 - .../gcc-3.4.6/gcc/unwind-dw2.c: In function `uw_frame_state_for': .../work/gcc-3.4.6/gcc/unwind-dw2.c:1031: error: field `info' has incomplete type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed fix, only tested on x86_64
siginfo.patch (text/plain), 3.82 KB, created by
Daniel Santos
on 2014-07-04 04:32:33 UTC
(
hide
)
Description:
proposed fix, only tested on x86_64
Filename:
MIME Type:
Creator:
Daniel Santos
Created:
2014-07-04 04:32:33 UTC
Size:
3.82 KB
patch
obsolete
>diff -ur a/gcc-3.4.6/gcc/config/alpha/linux.h b/gcc-3.4.6/gcc/config/alpha/linux.h >--- a/gcc-3.4.6/gcc/config/alpha/linux.h 2014-07-03 22:54:44.000000000 -0500 >+++ b/gcc-3.4.6/gcc/config/alpha/linux.h 2014-07-03 23:20:46.937901949 -0500 >@@ -95,7 +95,7 @@ > else if (pc_[1] == 0x201f015f) /* lda $0,NR_rt_sigreturn */ \ > { \ > struct rt_sigframe { \ >- struct siginfo info; \ >+ siginfo_t info; \ > struct ucontext uc; \ > } *rt_ = (CONTEXT)->cfa; \ > sc_ = &rt_->uc.uc_mcontext; \ >diff -ur a/gcc-3.4.6/gcc/config/i386/linux64.h b/gcc-3.4.6/gcc/config/i386/linux64.h >--- a/gcc-3.4.6/gcc/config/i386/linux64.h 2003-11-28 21:08:13.000000000 -0600 >+++ b/gcc-3.4.6/gcc/config/i386/linux64.h 2014-07-03 23:20:46.914901950 -0500 >@@ -157,9 +157,9 @@ > { \ > 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; \ >diff -ur a/gcc-3.4.6/gcc/config/i386/linux.h b/gcc-3.4.6/gcc/config/i386/linux.h >--- a/gcc-3.4.6/gcc/config/i386/linux.h 2014-07-03 22:54:44.000000000 -0500 >+++ b/gcc-3.4.6/gcc/config/i386/linux.h 2014-07-03 23:20:46.918901950 -0500 >@@ -236,9 +236,9 @@ > { \ > 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; \ >diff -ur a/gcc-3.4.6/gcc/config/ia64/linux.h b/gcc-3.4.6/gcc/config/ia64/linux.h >--- a/gcc-3.4.6/gcc/config/ia64/linux.h 2004-02-07 01:56:17.000000000 -0600 >+++ b/gcc-3.4.6/gcc/config/ia64/linux.h 2014-07-03 23:20:46.845901954 -0500 >@@ -77,7 +77,7 @@ > struct sigframe { \ > char scratch[16]; \ > unsigned long sig_number; \ >- struct siginfo *info; \ >+ siginfo_t *info; \ > struct sigcontext *sc; \ > } *frame_ = (struct sigframe *)(CONTEXT)->psp; \ > struct sigcontext *sc_ = frame_->sc; \ >@@ -150,7 +150,7 @@ > struct sigframe { \ > char scratch[16]; \ > unsigned long sig_number; \ >- struct siginfo *info; \ >+ siginfo_t *info; \ > struct sigcontext *sc; \ > } *frame_ = (struct sigframe *)(CONTEXT)->psp; \ > struct sigcontext *sc_ = frame_->sc; \ >diff -ur a/gcc-3.4.6/gcc/config/mips/linux.h b/gcc-3.4.6/gcc/config/mips/linux.h >--- a/gcc-3.4.6/gcc/config/mips/linux.h 2004-06-15 20:42:25.000000000 -0500 >+++ b/gcc-3.4.6/gcc/config/mips/linux.h 2014-07-03 23:20:46.751901959 -0500 >@@ -228,7 +228,7 @@ > { \ > struct rt_sigframe { \ > u_int32_t trampoline[2]; \ >- struct siginfo info; \ >+ siginfo_t info; \ > _sig_ucontext_t uc; \ > } *rt_ = (CONTEXT)->ra; \ > sc_ = &rt_->uc.uc_mcontext; \ >diff -ur a/gcc-3.4.6/gcc/config/sh/linux.h b/gcc-3.4.6/gcc/config/sh/linux.h >--- a/gcc-3.4.6/gcc/config/sh/linux.h 2014-07-03 22:54:44.000000000 -0500 >+++ b/gcc-3.4.6/gcc/config/sh/linux.h 2014-07-03 23:20:46.936901949 -0500 >@@ -245,7 +245,7 @@ > && (*(unsigned short *) (pc_+14) == 0x00ad)))) \ > { \ > struct rt_sigframe { \ >- struct siginfo info; \ >+ siginfo_t info; \ > struct ucontext uc; \ > } *rt_ = (CONTEXT)->cfa; \ > sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 516276
: 380154