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