Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gcc/4.3.6/gentoo: 05_all_gcc-4.5.x-siginfo.patch README.history
Date: Sat, 24 Nov 2012 22:39:33
Message-Id: 20121124223822.4E0FB21600@flycatcher.gentoo.org
1 vapier 12/11/24 22:38:22
2
3 Modified: README.history
4 Added: 05_all_gcc-4.5.x-siginfo.patch
5 Log:
6 fix from upstream for building with newer glibc #424970
7
8 Revision Changes Path
9 1.5 src/patchsets/gcc/4.3.6/gentoo/README.history
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.3.6/gentoo/README.history?rev=1.5&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.3.6/gentoo/README.history?rev=1.5&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.3.6/gentoo/README.history?r1=1.4&r2=1.5
14
15 Index: README.history
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.3.6/gentoo/README.history,v
18 retrieving revision 1.4
19 retrieving revision 1.5
20 diff -u -r1.4 -r1.5
21 --- README.history 22 Nov 2012 04:02:43 -0000 1.4
22 +++ README.history 24 Nov 2012 22:38:22 -0000 1.5
23 @@ -1,6 +1,8 @@
24 1.1 [pending]
25 - 03_all_gcc43-java-nomulti.patch
26 + + 05_all_gcc-4.5.x-siginfo.patch
27 - 10_all_gcc-default-fortify-source.patch
28 + + 27_all_gcj-glibc-2.15-pr50888.patch
29
30 1.0 01 Jul 2011
31 + 00_all_gcc-4.1-alpha-mieee-default.patch
32
33
34
35 1.1 src/patchsets/gcc/4.3.6/gentoo/05_all_gcc-4.5.x-siginfo.patch
36
37 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.3.6/gentoo/05_all_gcc-4.5.x-siginfo.patch?rev=1.1&view=markup
38 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.3.6/gentoo/05_all_gcc-4.5.x-siginfo.patch?rev=1.1&content-type=text/plain
39
40 Index: 05_all_gcc-4.5.x-siginfo.patch
41 ===================================================================
42 https://bugs.gentoo.org/424970
43
44 fix from upstream for building with newer glibc versions
45
46 From f0cdca2bf2230005025e13e7354fedb612933c96 Mon Sep 17 00:00:00 2001
47 From: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
48 Date: Fri, 20 Apr 2012 08:14:00 +0000
49 Subject: [PATCH] struct siginfo vs. siginfo_t
50
51 Backport from trunk (but apply to gcc/):
52
53 2012-04-20 Thomas Schwinge <thomas@××××××××××××.com>
54
55 gcc/
56 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
57 siginfo_t instead of struct siginfo.
58 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
59 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
60 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
61 (ia64_handle_unwabi): Likewise.
62 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
63 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
64 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
65 (sh_fallback_frame_state): Likewise.
66 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
67
68 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_5-branch@186613 138bc75d-0d04-0410-961f-82ee72b054a4
69 ---
70 gcc/ChangeLog | 20 ++++++++++++++++++++
71 gcc/config/alpha/linux-unwind.h | 4 ++--
72 gcc/config/bfin/linux-unwind.h | 6 +++---
73 gcc/config/i386/linux-unwind.h | 6 +++---
74 gcc/config/ia64/linux-unwind.h | 6 +++---
75 gcc/config/mips/linux-unwind.h | 5 +++--
76 gcc/config/pa/linux-unwind.h | 4 ++--
77 gcc/config/sh/linux-unwind.h | 9 +++++----
78 gcc/config/xtensa/linux-unwind.h | 4 ++--
79 9 files changed, 43 insertions(+), 21 deletions(-)
80
81 diff --git a/gcc/config/alpha/linux-unwind.h b/gcc/config/alpha/linux-unwind.h
82 index 4c811dc..8c04b3b 100644
83 --- a/gcc/config/alpha/linux-unwind.h
84 +++ b/gcc/config/alpha/linux-unwind.h
85 @@ -49,7 +49,7 @@ alpha_fallback_frame_state (struct _Unwind_Context *context,
86 else if (pc[1] == 0x201f015f) /* lda $0,NR_rt_sigreturn */
87 {
88 struct rt_sigframe {
89 - struct siginfo info;
90 + siginfo_t info;
91 struct ucontext uc;
92 } *rt_ = context->cfa;
93 sc = &rt_->uc.uc_mcontext;
94 diff --git a/gcc/config/bfin/linux-unwind.h b/gcc/config/bfin/linux-unwind.h
95 index 88c8285..15bb2f1 100644
96 --- a/gcc/config/bfin/linux-unwind.h
97 +++ b/gcc/config/bfin/linux-unwind.h
98 @@ -48,10 +48,10 @@ bfin_fallback_frame_state (struct _Unwind_Context *context,
99 {
100 struct rt_sigframe {
101 int sig;
102 - struct siginfo *pinfo;
103 + siginfo_t *pinfo;
104 void *puc;
105 char retcode[8];
106 - struct siginfo info;
107 + siginfo_t info;
108 struct ucontext uc;
109 } *rt_ = context->cfa;
110
111 diff --git a/gcc/config/i386/linux-unwind.h b/gcc/config/i386/linux-unwind.h
112 index 36ee370..fe0ea3e 100644
113 --- a/gcc/config/i386/linux-unwind.h
114 +++ b/gcc/config/i386/linux-unwind.h
115 @@ -133,9 +133,9 @@ x86_fallback_frame_state (struct _Unwind_Context *context,
116 {
117 struct rt_sigframe {
118 int sig;
119 - struct siginfo *pinfo;
120 + siginfo_t *pinfo;
121 void *puc;
122 - struct siginfo info;
123 + siginfo_t info;
124 struct ucontext uc;
125 } *rt_ = context->cfa;
126 /* The void * cast is necessary to avoid an aliasing warning.
127 diff --git a/gcc/config/ia64/linux-unwind.h b/gcc/config/ia64/linux-unwind.h
128 index 93f762d..da31259 100644
129 --- a/gcc/config/ia64/linux-unwind.h
130 +++ b/gcc/config/ia64/linux-unwind.h
131 @@ -47,7 +47,7 @@ ia64_fallback_frame_state (struct _Unwind_Context *context,
132 struct sigframe {
133 char scratch[16];
134 unsigned long sig_number;
135 - struct siginfo *info;
136 + siginfo_t *info;
137 struct sigcontext *sc;
138 } *frame_ = (struct sigframe *)context->psp;
139 struct sigcontext *sc = frame_->sc;
140 @@ -137,7 +137,7 @@ ia64_handle_unwabi (struct _Unwind_Context *context, _Unwind_FrameState *fs)
141 struct sigframe {
142 char scratch[16];
143 unsigned long sig_number;
144 - struct siginfo *info;
145 + siginfo_t *info;
146 struct sigcontext *sc;
147 } *frame = (struct sigframe *)context->psp;
148 struct sigcontext *sc = frame->sc;
149 diff --git a/gcc/config/mips/linux-unwind.h b/gcc/config/mips/linux-unwind.h
150 index 02f7cd5..094ff58 100644
151 --- a/gcc/config/mips/linux-unwind.h
152 +++ b/gcc/config/mips/linux-unwind.h
153 @@ -75,7 +76,7 @@ mips_fallback_frame_state (struct _Unwind_Context *context,
154 struct rt_sigframe {
155 u_int32_t ass[4]; /* Argument save space for o32. */
156 u_int32_t trampoline[2];
157 - struct siginfo info;
158 + siginfo_t info;
159 _sig_ucontext_t uc;
160 } *rt_ = context->cfa;
161 sc = &rt_->uc.uc_mcontext;
162 diff --git a/gcc/config/pa/linux-unwind.h b/gcc/config/pa/linux-unwind.h
163 index a0560e9..38b4eda 100644
164 --- a/gcc/config/pa/linux-unwind.h
165 +++ b/gcc/config/pa/linux-unwind.h
166 @@ -63,7 +63,7 @@ pa32_fallback_frame_state (struct _Unwind_Context *context,
167 int i;
168 struct sigcontext *sc;
169 struct rt_sigframe {
170 - struct siginfo info;
171 + siginfo_t info;
172 struct ucontext uc;
173 } *frame;
174
175 diff --git a/gcc/config/sh/linux-unwind.h b/gcc/config/sh/linux-unwind.h
176 index 94ed95d..5a78e31 100644
177 --- a/gcc/config/sh/linux-unwind.h
178 +++ b/gcc/config/sh/linux-unwind.h
179 @@ -80,9 +81,9 @@ shmedia_fallback_frame_state (struct _Unwind_Context *context,
180 && (*(unsigned long *) (pc+11) == 0x6ff0fff0))
181 {
182 struct rt_sigframe {
183 - struct siginfo *pinfo;
184 + siginfo_t *pinfo;
185 void *puc;
186 - struct siginfo info;
187 + siginfo_t info;
188 struct ucontext uc;
189 } *rt_ = context->cfa;
190 /* The void * cast is necessary to avoid an aliasing warning.
191 @@ -179,7 +180,7 @@ sh_fallback_frame_state (struct _Unwind_Context *context,
192 && (*(unsigned short *) (pc+14) == 0x00ad))))
193 {
194 struct rt_sigframe {
195 - struct siginfo info;
196 + siginfo_t info;
197 struct ucontext uc;
198 } *rt_ = context->cfa;
199 /* The void * cast is necessary to avoid an aliasing warning.
200 diff --git a/gcc/config/xtensa/linux-unwind.h b/gcc/config/xtensa/linux-unwind.h
201 index 32e9349..2456497 100644
202 --- a/gcc/config/xtensa/linux-unwind.h
203 +++ b/gcc/config/xtensa/linux-unwind.h
204 @@ -62,7 +62,7 @@ xtensa_fallback_frame_state (struct _Unwind_Context *context,
205 struct sigcontext *sc;
206
207 struct rt_sigframe {
208 - struct siginfo info;
209 + siginfo_t info;
210 struct ucontext uc;
211 } *rt_;
212
213 --
214 1.7.9.7