Compare commits
No commits in common. 'c9' and 'i8c' have entirely different histories.
@ -1,7 +1,7 @@
|
|||||||
From 03f9360715731f18e4fdae7b30aa34b30dddcd57 Mon Sep 17 00:00:00 2001
|
From 03f9360715731f18e4fdae7b30aa34b30dddcd57 Mon Sep 17 00:00:00 2001
|
||||||
From: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
|
From: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
|
||||||
Date: Sat, 26 Mar 2022 21:42:02 +0900
|
Date: Sat, 26 Mar 2022 21:42:02 +0900
|
||||||
Subject: [PATCH 4/8] x86: Fix failure of collecting vsyscall mapping due to
|
Subject: [PATCH 1/5] x86: Fix failure of collecting vsyscall mapping due to
|
||||||
change of enum type of vsyscall_mode
|
change of enum type of vsyscall_mode
|
||||||
|
|
||||||
vsyscall mapping fails to get collected because the commit
|
vsyscall mapping fails to get collected because the commit
|
@ -1,7 +1,7 @@
|
|||||||
From 1ba701c1d7bd94cc5a02f51652712acdcbf0875c Mon Sep 17 00:00:00 2001
|
From 1ba701c1d7bd94cc5a02f51652712acdcbf0875c Mon Sep 17 00:00:00 2001
|
||||||
From: Vincent Whitchurch <vincent.whitchurch@axis.com>
|
From: Vincent Whitchurch <vincent.whitchurch@axis.com>
|
||||||
Date: Tue, 21 Jun 2022 09:15:33 +0000
|
Date: Tue, 21 Jun 2022 09:15:33 +0000
|
||||||
Subject: [PATCH 5/8] coredump: fix segmentation fault caused by type mismatch
|
Subject: [PATCH 2/5] coredump: fix segmentation fault caused by type mismatch
|
||||||
MIME-Version: 1.0
|
MIME-Version: 1.0
|
||||||
Content-Type: text/plain; charset=UTF-8
|
Content-Type: text/plain; charset=UTF-8
|
||||||
Content-Transfer-Encoding: 8bit
|
Content-Transfer-Encoding: 8bit
|
@ -1,7 +1,7 @@
|
|||||||
From 8ff3de974aa9fdf8934797122dc55428ef571ab2 Mon Sep 17 00:00:00 2001
|
From 8ff3de974aa9fdf8934797122dc55428ef571ab2 Mon Sep 17 00:00:00 2001
|
||||||
From: Vincent Whitchurch <vincent.whitchurch@axis.com>
|
From: Vincent Whitchurch <vincent.whitchurch@axis.com>
|
||||||
Date: Tue, 21 Jun 2022 09:15:34 +0000
|
Date: Tue, 21 Jun 2022 09:15:34 +0000
|
||||||
Subject: [PATCH 6/8] elf: fix warning message caused by type mismatch of
|
Subject: [PATCH 3/5] elf: fix warning message caused by type mismatch of
|
||||||
offset types
|
offset types
|
||||||
MIME-Version: 1.0
|
MIME-Version: 1.0
|
||||||
Content-Type: text/plain; charset=UTF-8
|
Content-Type: text/plain; charset=UTF-8
|
@ -1,7 +1,7 @@
|
|||||||
From dbb542e10bfe1b2e21c7927bda9be1d301cfef65 Mon Sep 17 00:00:00 2001
|
From dbb542e10bfe1b2e21c7927bda9be1d301cfef65 Mon Sep 17 00:00:00 2001
|
||||||
From: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
|
From: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
|
||||||
Date: Fri, 17 Jun 2022 20:38:19 +0900
|
Date: Fri, 17 Jun 2022 20:38:19 +0900
|
||||||
Subject: [PATCH 7/8] coredump: fix unexpected truncation of generated core
|
Subject: [PATCH 4/5] coredump: fix unexpected truncation of generated core
|
||||||
files
|
files
|
||||||
|
|
||||||
Core files generated by crash gcore command are sometimes unexpectedly
|
Core files generated by crash gcore command are sometimes unexpectedly
|
@ -1,7 +1,7 @@
|
|||||||
From d2795659986dacc51e98a3d1dbc8b673582c20fe Mon Sep 17 00:00:00 2001
|
From d2795659986dacc51e98a3d1dbc8b673582c20fe Mon Sep 17 00:00:00 2001
|
||||||
From: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
|
From: HATAYAMA Daisuke <d.hatayama@fujitsu.com>
|
||||||
Date: Tue, 28 Jun 2022 03:54:46 +0900
|
Date: Tue, 28 Jun 2022 03:54:46 +0900
|
||||||
Subject: [PATCH 8/8] gcore.mk: fix mismatch of _FILE_OFFSET_BITS when building
|
Subject: [PATCH 5/5] gcore.mk: fix mismatch of _FILE_OFFSET_BITS when building
|
||||||
gcore.so
|
gcore.so
|
||||||
|
|
||||||
On arm and mips, while _FILE_OFFSET_BITS=64 is used when building
|
On arm and mips, while _FILE_OFFSET_BITS=64 is used when building
|
@ -1,66 +1,140 @@
|
|||||||
|
#
|
||||||
|
# crash core analysis suite
|
||||||
|
#
|
||||||
%global reponame crash-gcore
|
%global reponame crash-gcore
|
||||||
|
|
||||||
Summary: Gcore extension module for the crash utility
|
Summary: Gcore extension module for the crash utility
|
||||||
Name: crash-gcore-command
|
Name: crash-gcore-command
|
||||||
Version: 1.6.3
|
Version: 1.6.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Source0: https://github.com/fujitsu/crash-gcore/archive/v%{version}/%{name}-%{version}.tar.gz
|
Group: Development/Debuggers
|
||||||
|
Source: https://github.com/fujitsu/crash-gcore/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
URL: https://github.com/fujitsu/crash-gcore
|
URL: https://github.com/fujitsu/crash-gcore
|
||||||
|
# Vendor: FUJITSU LIMITED
|
||||||
|
# Packager: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
|
||||||
ExclusiveOS: Linux
|
ExclusiveOS: Linux
|
||||||
ExclusiveArch: aarch64 ppc64le x86_64
|
ExclusiveArch: x86_64 %{ix86} arm aarch64 ppc64 ppc64le
|
||||||
BuildRequires: crash-devel >= 5.1.5
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
BuildRequires: gcc
|
BuildRequires: crash-devel >= 5.1.5, zlib-devel lzo-devel snappy-devel
|
||||||
Requires: crash >= 5.1.5
|
Requires: crash >= 5.1.5
|
||||||
|
|
||||||
Patch0: 0001-coredump-use-MEMBER_-OFFSET-SIZE-instead-of-GCORE_-O.patch
|
Patch0: 0001-coredump-use-MEMBER_-OFFSET-SIZE-instead-of-GCORE_-O.patch
|
||||||
Patch1: 0002-gcore-defs-remove-definitions-and-initializations-fo.patch
|
Patch1: 0002-gcore-defs-remove-definitions-and-initializations-fo.patch
|
||||||
Patch2: 0003-gcore-fix-memory-allocation-failure-during-processin.patch
|
Patch2: 0003-gcore-fix-memory-allocation-failure-during-processin.patch
|
||||||
Patch3: 0004-x86-Fix-failure-of-collecting-vsyscall-mapping-due-t.patch
|
Patch3: 0001-x86-Fix-failure-of-collecting-vsyscall-mapping-due-t.patch
|
||||||
Patch4: 0005-coredump-fix-segmentation-fault-caused-by-type-misma.patch
|
Patch4: 0002-coredump-fix-segmentation-fault-caused-by-type-misma.patch
|
||||||
Patch5: 0006-elf-fix-warning-message-caused-by-type-mismatch-of-o.patch
|
Patch5: 0003-elf-fix-warning-message-caused-by-type-mismatch-of-o.patch
|
||||||
Patch6: 0007-coredump-fix-unexpected-truncation-of-generated-core.patch
|
Patch6: 0004-coredump-fix-unexpected-truncation-of-generated-core.patch
|
||||||
Patch7: 0008-gcore.mk-fix-mismatch-of-_FILE_OFFSET_BITS-when-buil.patch
|
Patch7: 0005-gcore.mk-fix-mismatch-of-_FILE_OFFSET_BITS-when-buil.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Command for creating a core dump file of a user-space task that was
|
Command for creating a core dump file of a user-space task that was
|
||||||
running in a kernel dump file.
|
running in a kernel dumpfile.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{reponame}-%{version} -p1
|
%setup -q -n %{reponame}-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
%patch7 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build CFLAGS="%{optflags} -Wl,-z,now" -C src -f gcore.mk
|
make CFLAGS="%{optflags} -Wl,-z,now" -C src -f gcore.mk
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 0755 -d %{buildroot}%{_libdir}/crash/extensions
|
rm -Rf $RPM_BUILD_ROOT
|
||||||
install -m 0755 -t %{buildroot}%{_libdir}/crash/extensions %{_builddir}/%{reponame}-%{version}/src/gcore.so
|
mkdir -p %{buildroot}%{_libdir}/crash/extensions/
|
||||||
|
cp %{_builddir}/%{reponame}-%{version}/src/gcore.so %{buildroot}%{_libdir}/crash/extensions/
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
rm -Rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{_libdir}/crash
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/crash/extensions
|
|
||||||
%{_libdir}/crash/extensions/gcore.so
|
%{_libdir}/crash/extensions/gcore.so
|
||||||
%license COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Nov 18 2022 Lianbo Jiang <lijiang@redhat.com> - 1.6.3-2
|
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.6.3-3
|
||||||
- Update to the latest commit d2795659986d
|
- Rebuilt for MSVSphere 8.8
|
||||||
|
|
||||||
|
* Fri Nov 18 2022 Lianbo Jiang <lijiang@redhat.com> - 1.6.3-3
|
||||||
|
- Update to upstream commit d2795659986d
|
||||||
|
- Resolves: rhbz#2119697
|
||||||
|
|
||||||
|
* Tue Apr 12 2022 Tao Liu <ltao@redhat.com> - 1.6.3-2
|
||||||
|
- Rebase to upstream crash-gcore-command-1.6.3
|
||||||
|
- Fix memory allocation failure issue
|
||||||
|
- Resolves: rhbz#2060355
|
||||||
|
|
||||||
|
* Wed Dec 2 2020 Bhupesh Sharma <bhsharma@redhat.com> - 1.6.0-1
|
||||||
|
- Rebase crash-gcore-command to github upstream version crash-gcore-command-1.6.0
|
||||||
|
Resolves: rhbz#1903465
|
||||||
|
|
||||||
|
* Wed Jul 8 2020 Bhupesh Sharma <bhsharma@redhat.com> - 1.5.1-1
|
||||||
|
- Rebase crash-gcore-command to github upstream version crash-gcore-command-1.5.1
|
||||||
|
Resolves: rhbz#1851747
|
||||||
|
|
||||||
|
* Tue Jun 25 2019 Dave Anderson <anderson@redhat.com> - 1.3.1-4
|
||||||
|
- Fix "invalid structure size: pid_link"
|
||||||
|
Resolves: rhbz#1722726
|
||||||
|
|
||||||
|
* Tue Dec 4 2018 Dave Anderson <anderson@redhat.com> - 1.3.1-3
|
||||||
|
- Fix x86_64 "invalid structure member offset: thread_struct_fs"
|
||||||
|
Resolves: rhbz#1589019
|
||||||
|
- Fix arm64 "invalid structure member offset: thread_struct_fpsimd_state"
|
||||||
|
Resolves: rhbz#1625810
|
||||||
|
|
||||||
* Mon Dec 27 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.3-1
|
* Wed Sep 10 2018 Dave Anderson <anderson@redhat.com> - 1.3.1-2
|
||||||
- Rebase to upstream 1.6.3
|
- Address annocheck link issue
|
||||||
|
Resolves: rhbz#1630556
|
||||||
|
|
||||||
* Wed Dec 15 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.2-5
|
* Mon Aug 13 2018 Dave Anderson <anderson@redhat.com> - 1.3.1-1
|
||||||
- Rebuild for the compatibility issue
|
- Bump release for mass rebuild
|
||||||
|
Resolves: rhbz#1615509
|
||||||
|
|
||||||
* Tue Dec 07 2021 Lianbo Jiang <lijiang@redhat.com> - 1.6.2-4
|
* Thu Nov 6 2014 Dave Anderson <anderson@redhat.com> - 1.3.1-0
|
||||||
- Fix the hardening issue "FAIL: bind-now test because not linked with -Wl,-z,now"
|
- Rebase to 1.3.1 to address 32-bit x86 build error.
|
||||||
|
- Resolves: rhbz#1077311
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-3
|
* Tue Nov 4 2014 Dave Anderson <anderson@redhat.com> - 1.3.0-0
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Add aarch64 support
|
||||||
Related: rhbz#1991688
|
- Resolves: rhbz#1077311
|
||||||
|
- Add ppc64/ppc64le support
|
||||||
|
- Resolves: rhbz#1125485
|
||||||
|
|
||||||
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-2
|
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2.1-2
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- Mass rebuild 2013-12-27
|
||||||
|
|
||||||
* Fri Jan 22 2021 HATAYAMA Daisuke <d.hatayama@fujitsu.com> - 1.6.2-1
|
|
||||||
|
* Tue Aug 20 2013 Dave Anderson <anderson@redhat.com> - 1.2.1-1
|
||||||
|
crash utility has added LZO and snappy compression in addition to zlib.
|
||||||
|
|
||||||
|
* Thu May 23 2013 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.2.1-0
|
||||||
|
Fixes for missing VDSO and vsyscall pages in core dump.
|
||||||
|
|
||||||
|
* Wed Nov 21 2012 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.2-0
|
||||||
|
Support recent kernels around 3.6.
|
||||||
|
|
||||||
|
* Tue Jan 31 2012 Dave Anderson <anderson@redhat.com> - 1.0-3
|
||||||
|
Address Pkgwrangler/rpmlint issues.
|
||||||
|
Resolves: rbhz#692799
|
||||||
|
|
||||||
|
* Wed Jan 25 2012 Dave Anderson <anderson@redhat.com> - 1.0-2
|
||||||
|
Compile with RPM_OPT_FLAGS and fix warnings generated from using it.
|
||||||
|
Resolves: rbhz#692799
|
||||||
|
|
||||||
|
* Thu Apr 13 2011 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.0-1
|
||||||
|
- Remove inclusion of kvmdump.h and unwind_x86_64.h due to non-supporting issue
|
||||||
|
on crash-devel package. Instead, use a new interface for them.
|
||||||
|
- Remove ppc64, ia64, s390 and s390x from ExclusiveArch, leave x86_64
|
||||||
|
and %%{ix86} there.
|
||||||
|
- Add descriptions in BuildRequires and Requires about crash and crash-devel.
|
||||||
|
|
||||||
|
* Wed Apr 6 2011 HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> - 1.0-0
|
||||||
- Initial crash-gcore-command package
|
- Initial crash-gcore-command package
|
||||||
|
|
||||||
|
Loading…
Reference in new issue