1 | # |
---|
2 | # crash core analysis suite |
---|
3 | # |
---|
4 | Summary: Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles |
---|
5 | Name: crash |
---|
6 | Version: 7.0.9 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: GPLv3 |
---|
9 | Group: Development/Debuggers |
---|
10 | URL: http://people.redhat.com/anderson |
---|
11 | |
---|
12 | Source: http://people.redhat.com/anderson/crash-%{version}.tar.gz |
---|
13 | Patch0: lzo_snappy.patch |
---|
14 | |
---|
15 | ExclusiveOS: Linux |
---|
16 | ExclusiveArch: %{ix86} ia64 x86_64 ppc64 s390 s390x %{arm} |
---|
17 | Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
18 | BuildRequires: bison |
---|
19 | BuildRequires: lzo-devel |
---|
20 | BuildRequires: ncurses-devel |
---|
21 | BuildRequires: readline-devel |
---|
22 | BuildRequires: snappy-devel |
---|
23 | BuildRequires: zlib-devel |
---|
24 | |
---|
25 | Requires: binutils |
---|
26 | |
---|
27 | %description |
---|
28 | The core analysis suite is a self-contained tool that can be used to |
---|
29 | investigate either live systems, kernel core dumps created from the |
---|
30 | netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch |
---|
31 | offered by Mission Critical Linux, or the LKCD kernel patch. |
---|
32 | |
---|
33 | %package devel |
---|
34 | Summary: Development files for %{name} |
---|
35 | Summary(ja): %{name} の開発用ファイル |
---|
36 | Group: Development/System |
---|
37 | Requires: %{name} = %{version} |
---|
38 | Requires: zlib-devel |
---|
39 | |
---|
40 | %description devel |
---|
41 | The core analysis suite is a self-contained tool that can be used to |
---|
42 | investigate either live systems, kernel core dumps created from the |
---|
43 | netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch |
---|
44 | offered by Mission Critical Linux, or the LKCD kernel patch. |
---|
45 | |
---|
46 | The %{name}-devel package contains static library and header files for |
---|
47 | developing applications that use %{name}. |
---|
48 | |
---|
49 | |
---|
50 | %prep |
---|
51 | %setup -q -n %{name}-%{version} |
---|
52 | %patch0 -p1 -b lzo_snappy.patch |
---|
53 | |
---|
54 | %build |
---|
55 | make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" |
---|
56 | |
---|
57 | %install |
---|
58 | rm -rf %{buildroot} |
---|
59 | mkdir -p %{buildroot}%{_bindir} |
---|
60 | make DESTDIR=%{buildroot} install |
---|
61 | mkdir -p %{buildroot}%{_mandir}/man8 |
---|
62 | cp -p crash.8 %{buildroot}%{_mandir}/man8/crash.8 |
---|
63 | mkdir -p %{buildroot}%{_includedir}/crash |
---|
64 | chmod 0644 defs.h |
---|
65 | cp -p defs.h %{buildroot}%{_includedir}/crash |
---|
66 | mkdir -p %{buildroot}%{_libdir} |
---|
67 | cp -p crashlib.a %{buildroot}%{_libdir} |
---|
68 | |
---|
69 | |
---|
70 | %clean |
---|
71 | rm -rf %{buildroot} |
---|
72 | |
---|
73 | %files |
---|
74 | %defattr(-,root,root,-) |
---|
75 | %doc README COPYING3 |
---|
76 | %{_bindir}/crash |
---|
77 | %{_mandir}/man8/crash.8* |
---|
78 | |
---|
79 | %files devel |
---|
80 | %defattr(-,root,root,-) |
---|
81 | %{_includedir}/* |
---|
82 | %{_libdir}/*.a |
---|
83 | |
---|
84 | %changelog |
---|
85 | * Fri Nov 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 7.0.9-1 |
---|
86 | - updated to 7.0.9 |
---|
87 | - moved devel subpackage to Development/System Group |
---|
88 | |
---|
89 | * Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.1.0-1 |
---|
90 | - initial build for Vine Linux |
---|
91 | |
---|
92 | * Tue Aug 21 2012 Dave Anderson <anderson@redhat.com> - 6.0.9-1 |
---|
93 | - Update to latest upstream release |
---|
94 | |
---|
95 | * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.8-2 |
---|
96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
97 | |
---|
98 | * Mon Jul 1 2012 Dave Anderson <anderson@redhat.com> - 6.0.8-1 |
---|
99 | - Update to latest upstream release. |
---|
100 | - Replace usage of "struct siginfo" with "siginfo_t". |
---|
101 | |
---|
102 | * Mon Apr 30 2012 Dave Anderson <anderson@redhat.com> - 6.0.6-1 |
---|
103 | - Update to latest upstream release |
---|
104 | |
---|
105 | * Mon Mar 26 2012 Dave Anderson <anderson@redhat.com> - 6.0.5-1 |
---|
106 | - Update to latest upstream release |
---|
107 | |
---|
108 | * Wed Jan 4 2012 Dave Anderson <anderson@redhat.com> - 6.0.2-1 |
---|
109 | - Update to latest upstream release |
---|
110 | |
---|
111 | * Wed Oct 26 2011 Dave Anderson <anderson@redhat.com> - 6.0.0-1 |
---|
112 | - Update to latest upstream release |
---|
113 | |
---|
114 | * Tue Sep 20 2011 Dave Anderson <anderson@redhat.com> - 5.1.8-1 |
---|
115 | - Update to latest upstream release |
---|
116 | - Additional fixes for gcc-4.6 -Werror compile failures for ARM architecture. |
---|
117 | |
---|
118 | * Thu Sep 1 2011 Dave Anderson <anderson@redhat.com> - 5.1.7-2 |
---|
119 | - Fixes for gcc-4.6 -Werror compile failures for ARM architecture. |
---|
120 | |
---|
121 | * Wed Aug 17 2011 Dave Anderson <anderson@redhat.com> - 5.1.7-1 |
---|
122 | - Update to latest upstream release |
---|
123 | - Fixes for gcc-4.6 -Werror compile failures for ppc64/ppc. |
---|
124 | |
---|
125 | * Tue May 31 2011 Peter Robinson <pbrobinson@gmail.com> - 5.1.5-1 |
---|
126 | - Update to latest upstream release |
---|
127 | - Add ARM to the Exclusive arch |
---|
128 | |
---|
129 | * Wed Feb 25 2011 Dave Anderson <anderson@redhat.com> - 5.1.2-2 |
---|
130 | - Fixes for gcc-4.6 -Werror compile failures in gdb module. |
---|
131 | |
---|
132 | * Wed Feb 23 2011 Dave Anderson <anderson@redhat.com> - 5.1.2-1 |
---|
133 | - Upstream version. |
---|
134 | |
---|
135 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.6-3 |
---|
136 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
137 | |
---|
138 | * Tue Jul 20 2010 Dave Anderson <anderson@redhat.com> - 5.0.6-2 |
---|
139 | - Bump version. |
---|
140 | |
---|
141 | * Tue Jul 20 2010 Dave Anderson <anderson@redhat.com> - 5.0.6-1 |
---|
142 | - Update to upstream version. |
---|
143 | |
---|
144 | * Fri Sep 11 2009 Dave Anderson <anderson@redhat.com> - 4.0.9-2 |
---|
145 | Bump version. |
---|
146 | |
---|
147 | * Fri Sep 11 2009 Dave Anderson <anderson@redhat.com> - 4.0.9-1 |
---|
148 | - Update to upstream release, which allows the removal of the |
---|
149 | Revision tag workaround, the crash-4.0-8.11-dwarf3.patch and |
---|
150 | the crash-4.0-8.11-optflags.patch |
---|
151 | |
---|
152 | * Sun Aug 05 2009 Lubomir Rintel <lkundrak@v3.sk> - 4.0.8.11-2 |
---|
153 | - Fix reading of dwarf 3 DW_AT_data_member_location |
---|
154 | - Use proper compiler flags |
---|
155 | |
---|
156 | * Wed Aug 05 2009 Lubomir Rintel <lkundrak@v3.sk> - 4.0.8.11-1 |
---|
157 | - Update to later upstream release |
---|
158 | - Fix abuse of Revision tag |
---|
159 | |
---|
160 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
161 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-9.7.2 |
---|
162 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
163 | |
---|
164 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-8.7.2 |
---|
165 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
166 | |
---|
167 | * Thu Feb 19 2009 Dave Anderson <anderson@redhat.com> - 4.0-7.7.2 |
---|
168 | - Replace exclusive arch i386 with ix86. |
---|
169 | |
---|
170 | * Thu Feb 19 2009 Dave Anderson <anderson@redhat.com> - 4.0-7.7.1 |
---|
171 | - Updates to this file per crash merge review |
---|
172 | - Update to upstream version 4.0-7.7. Full changelog viewable in: |
---|
173 | http://people.redhat.com/anderson/crash.changelog.html |
---|
174 | |
---|
175 | * Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.0-7 |
---|
176 | - fix license tag |
---|
177 | |
---|
178 | * Tue Apr 29 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.3 |
---|
179 | - Added crash-devel subpackage |
---|
180 | - Updated crash.patch to match upstream version 4.0-6.3 |
---|
181 | |
---|
182 | * Wed Feb 20 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.0.5 |
---|
183 | - Second attempt at addressing the GCC 4.3 build, which failed due |
---|
184 | to additional ptrace.h includes in the lkcd vmdump header files. |
---|
185 | |
---|
186 | * Wed Feb 20 2008 Dave Anderson <anderson@redhat.com> - 4.0-6.0.4 |
---|
187 | - First attempt at addressing the GCC 4.3 build, which failed on x86_64 |
---|
188 | because ptrace-abi.h (included by ptrace.h) uses the "u32" typedef, |
---|
189 | which relies on <asm/types.h>, and include/asm-x86_64/types.h |
---|
190 | does not not typedef u32 as done in include/asm-x86/types.h. |
---|
191 | |
---|
192 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.0-6.0.3 |
---|
193 | - Autorebuild for GCC 4.3 |
---|
194 | |
---|
195 | * Wed Jan 23 2008 Dave Anderson <anderson@redhat.com> - 4.0-5.0.3 |
---|
196 | - Updated crash.patch to match upstream version 4.0-5.0. |
---|
197 | |
---|
198 | * Wed Aug 29 2007 Dave Anderson <anderson@redhat.com> - 4.0-4.6.2 |
---|
199 | - Updated crash.patch to match upstream version 4.0-4.6. |
---|
200 | |
---|
201 | * Wed Sep 13 2006 Dave Anderson <anderson@redhat.com> - 4.0-3.3 |
---|
202 | - Updated crash.patch to match upstream version 4.0-3.3. |
---|
203 | - Support for x86_64 relocatable kernels. BZ #204557 |
---|
204 | |
---|
205 | * Mon Aug 7 2006 Dave Anderson <anderson@redhat.com> - 4.0-3.1 |
---|
206 | - Updated crash.patch to match upstream version 4.0-3.1. |
---|
207 | - Added kdump reference to description. |
---|
208 | - Added s390 and s390x to ExclusiveArch list. BZ #199125 |
---|
209 | - Removed LKCD v1 pt_regs references for s390/s390x build. |
---|
210 | - Removed LKCD v2_v3 pt_regs references for for s390/s390x build. |
---|
211 | |
---|
212 | * Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 4.0-3 |
---|
213 | - rebuild |
---|
214 | |
---|
215 | * Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.4 |
---|
216 | - Updated crash.patch such that <asm/page.h> is not #include'd |
---|
217 | by s390_dump.c; IBM did not make the file s390[s] only; BZ #192719 |
---|
218 | |
---|
219 | * Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.3 |
---|
220 | - Updated crash.patch such that <asm/page.h> is not #include'd |
---|
221 | by vas_crash.h; only ia64 build complained; BZ #191719 |
---|
222 | |
---|
223 | * Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.2 |
---|
224 | - Updated crash.patch such that <asm/segment.h> is not #include'd |
---|
225 | by lkcd_x86_trace.c; also for BZ #191719 |
---|
226 | |
---|
227 | * Mon May 15 2006 Dave Anderson <anderson@redhat.com> - 4.0-2.26.1 |
---|
228 | - Updated crash.patch to bring it up to 4.0-2.26, which should |
---|
229 | address BZ #191719 - "crash fails to build in mock" |
---|
230 | |
---|
231 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.0-2.18.1 |
---|
232 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
233 | |
---|
234 | * Wed Jan 04 2006 Dave Anderson <anderson@redhat.com> 4.0-2.18 |
---|
235 | - Updated source package to crash-4.0.tar.gz, and crash.patch |
---|
236 | to bring it up to 4.0-2.18. |
---|
237 | |
---|
238 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
239 | - rebuilt |
---|
240 | |
---|
241 | * Thu Mar 03 2005 Dave Anderson <anderson@redhat.com> 3.10-13 |
---|
242 | - Compiler error- and warning-related fixes for gcc 4 build. |
---|
243 | - Update to enhance x86 and x86_64 gdb disassembly output so as to |
---|
244 | symbolically display call targets from kernel module text without |
---|
245 | requiring module debuginfo data. |
---|
246 | - Fix hole where an ia64 vmcore could be mistakenly accepted as a |
---|
247 | usable dumpfile on an x86_64 machine, leading eventually to a |
---|
248 | non-related error message. |
---|
249 | * Wed Mar 02 2005 Dave Anderson <anderson@redhat.com> 3.10-12 |
---|
250 | - rebuild (gcc 4) |
---|
251 | * Thu Feb 10 2005 Dave Anderson <anderson@redhat.com> 3.10-9 |
---|
252 | - Updated source package to crash-3.10.tar.gz, containing |
---|
253 | IBM's final ppc64 processor support for RHEL4 |
---|
254 | - Fixes potential "bt -a" hang on dumpfile where netdump IPI interrupted |
---|
255 | an x86 process while executing the instructions just after it had entered |
---|
256 | the kernel for a syscall, but before calling the handler. BZ #139437 |
---|
257 | - Update to handle backtraces in dumpfiles generated on IA64 with the |
---|
258 | INIT switch (functionality intro'd in RHEL3-U5 kernel). BZ #139429 |
---|
259 | - Fix for handling ia64 and x86_64 machines booted with maxcpus=1 on |
---|
260 | an SMP kernel. BZ #139435 |
---|
261 | - Update to handle backtraces in dumpfiles generated on x86_64 from the |
---|
262 | NMI exception stack (functionality intro'd in RHEL3-U5 kernel). |
---|
263 | - "kmem -[sS]" beefed up to more accurately verify slab cache chains |
---|
264 | and report errors found. |
---|
265 | - Fix for ia64 INIT switch-generated backtrace handling when |
---|
266 | init_handler_platform() is inlined into ia64_init_handler(); |
---|
267 | properly handles both RHEL3 and RHEL4 kernel patches. |
---|
268 | BZ #138350 |
---|
269 | - Update to enhance ia64 gdb disassembly output so as to |
---|
270 | symbolically display call targets from kernel module |
---|
271 | text without requiring module debuginfo data. |
---|
272 | |
---|
273 | * Wed Jul 14 2004 Dave Anderson <anderson@redhat.com> 3.8-5 |
---|
274 | - bump release for fc3 |
---|
275 | |
---|
276 | * Tue Jul 13 2004 Dave Anderson <anderson@redhat.com> 3.8-4 |
---|
277 | - Fix for gcc 3.4.x/gdb issue where vmlinux was mistakenly presumed non-debug |
---|
278 | |
---|
279 | * Fri Jun 25 2004 Dave Anderson <anderson@redhat.com> 3.8-3 |
---|
280 | - remove (harmless) error message during ia64 diskdump invocation when |
---|
281 | an SMP system gets booted with maxcpus=1 |
---|
282 | - several 2.6 kernel specific updates |
---|
283 | |
---|
284 | * Thu Jun 17 2004 Dave Anderson <anderson@redhat.com> 3.8-2 |
---|
285 | - updated source package to crash-3.8.tar.gz |
---|
286 | - diskdump support |
---|
287 | - x86_64 processor support |
---|
288 | |
---|
289 | * Mon Sep 22 2003 Dave Anderson <anderson@redhat.com> 3.7-5 |
---|
290 | - make bt recovery code start fix-up only upon reaching first faulting frame |
---|
291 | |
---|
292 | * Fri Sep 19 2003 Dave Anderson <anderson@redhat.com> 3.7-4 |
---|
293 | - fix "bt -e" and bt recovery code to recognize new __KERNEL_CS and DS |
---|
294 | |
---|
295 | * Wed Sep 10 2003 Dave Anderson <anderson@redhat.com> 3.7-3 |
---|
296 | - patch to recognize per-cpu GDT changes that redefine __KERNEL_CS and DS |
---|
297 | |
---|
298 | * Wed Sep 10 2003 Dave Anderson <anderson@redhat.com> 3.7-2 |
---|
299 | - patches for netdump active_set determination and slab info gathering |
---|
300 | |
---|
301 | * Wed Aug 20 2003 Dave Anderson <anderson@redhat.com> 3.7-1 |
---|
302 | - updated source package to crash-3.7.tar.gz |
---|
303 | |
---|
304 | * Wed Jul 23 2003 Dave Anderson <anderson@redhat.com> 3.6-1 |
---|
305 | - removed Packager, Distribution, and Vendor tags |
---|
306 | - updated source package to crash-3.6.tar.gz |
---|
307 | |
---|
308 | * Fri Jul 18 2003 Jay Fenlason <fenlason@redhat.com> 3.5-2 |
---|
309 | - remove ppc from arch list, since it doesn't work with ppc64 kernels |
---|
310 | - remove alpha from the arch list since we don't build it any more |
---|
311 | |
---|
312 | * Fri Jul 18 2003 Matt Wilson <msw@redhat.com> 3.5-1 |
---|
313 | - use %%defattr(-,root,root) |
---|
314 | |
---|
315 | * Tue Jul 15 2003 Jay Fenlason <fenlason@redhat.com> |
---|
316 | - Updated spec file as first step in turning this into a real RPM for taroon. |
---|
317 | - Wrote man page. |
---|