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