forked from pool/crash
Update to crash 9.0.0 #1
BIN
crash-8.0.6.tar.gz
(Stored with Git LFS)
BIN
crash-8.0.6.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
crash-9.0.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
crash-9.0.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 1 19:41:10 UTC 2025 - Avinesh Kumar <avinesh.kumar@suse.com>
|
||||||
|
|
||||||
|
- Update to crash 9.0.0
|
||||||
|
- Remove patches already present in upstream source:
|
||||||
|
* fix_extensions_makefile_race_condition.patch
|
||||||
|
- Added gmp-devel and mpfr-devel to BuildRequires
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 18 16:58:31 UTC 2025 - David Mair <dmair@suse.com>
|
Tue Mar 18 16:58:31 UTC 2025 - David Mair <dmair@suse.com>
|
||||||
|
|
||||||
|
10
crash.spec
10
crash.spec
@@ -61,16 +61,16 @@ URL: https://crash-utility.github.io/
|
|||||||
Summary: Crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles
|
Summary: Crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles
|
||||||
License: GFDL-1.2-only AND GPL-3.0-or-later
|
License: GFDL-1.2-only AND GPL-3.0-or-later
|
||||||
Group: Development/Tools/Debuggers
|
Group: Development/Tools/Debuggers
|
||||||
Version: 8.0.6
|
Version: 9.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Source: https://github.com/crash-utility/crash/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/crash-utility/crash/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: https://ftp.gnu.org/gnu/gdb/gdb-10.2.tar.gz
|
Source1: https://ftp.gnu.org/gnu/gdb/gdb-16.2.tar.gz
|
||||||
Source2: crash_whitepaper-%{whitepaper_version}.tar.bz2
|
Source2: crash_whitepaper-%{whitepaper_version}.tar.bz2
|
||||||
Source3: README.SUSE
|
Source3: README.SUSE
|
||||||
Source4: sial-scripts-%{scripts_version}.tar.bz2
|
Source4: sial-scripts-%{scripts_version}.tar.bz2
|
||||||
Source5: gcore-%{gcore_version}.tar.bz2
|
Source5: gcore-%{gcore_version}.tar.bz2
|
||||||
Source6: Module.supported
|
Source6: Module.supported
|
||||||
Source7: https://ftp.gnu.org/gnu/gdb/gdb-10.2.tar.gz.sig
|
Source7: https://ftp.gnu.org/gnu/gdb/gdb-16.2.tar.gz.sig
|
||||||
Source8: gnu.keyring
|
Source8: gnu.keyring
|
||||||
Source95: get-kernel-flavors.sh
|
Source95: get-kernel-flavors.sh
|
||||||
Source96: depmod.sh
|
Source96: depmod.sh
|
||||||
@@ -97,12 +97,13 @@ Patch90: %{name}-sial-ps-2.6.29.diff
|
|||||||
Patch99: %{name}-usrmerge.patch
|
Patch99: %{name}-usrmerge.patch
|
||||||
Patch100: gcore-fix-use-of-set_context.patch
|
Patch100: gcore-fix-use-of-set_context.patch
|
||||||
|
|
||||||
Patch101: fix_extensions_makefile_race_condition.patch
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: lzo-devel
|
BuildRequires: lzo-devel
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
|
BuildRequires: mpfr-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
%if %{have_snappy}
|
%if %{have_snappy}
|
||||||
BuildRequires: snappy-devel
|
BuildRequires: snappy-devel
|
||||||
@@ -261,7 +262,6 @@ for f in %{S:100} %{S:101}; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%patch -P 32 -p1
|
%patch -P 32 -p1
|
||||||
%patch -P 101 -p1
|
|
||||||
|
|
||||||
## SIAL patches
|
## SIAL patches
|
||||||
cd sial-scripts-%{scripts_version}
|
cd sial-scripts-%{scripts_version}
|
||||||
|
@@ -1,36 +0,0 @@
|
|||||||
commit 620fd9cb7ec257534330cfca7d28f6a737d87d16
|
|
||||||
Author: Wolfgang Frisch <wolfgang.frisch@suse.com>
|
|
||||||
Date: Tue Feb 18 10:07:28 2025 +0100
|
|
||||||
|
|
||||||
extensions/Makefile: eliminate race condition
|
|
||||||
|
|
||||||
Building extensions with parallel jobs could lead to a race condition
|
|
||||||
when creating and using the temporary `.constructor` file. This resulted
|
|
||||||
in unpredictable build outcomes and unreproducible builds. This commit
|
|
||||||
removes the temporary file entirely, resolving the race condition and
|
|
||||||
ensuring consistent builds.
|
|
||||||
|
|
||||||
diff --git a/extensions/Makefile b/extensions/Makefile
|
|
||||||
index a608073..e4c68c3 100644
|
|
||||||
--- a/extensions/Makefile
|
|
||||||
+++ b/extensions/Makefile
|
|
||||||
@@ -36,16 +36,13 @@ $(CONTRIB_SO): %.so: %.c defs.h
|
|
||||||
@if [ -f $*.mk ]; then \
|
|
||||||
$(MAKE) -f $*.mk; \
|
|
||||||
else \
|
|
||||||
- grep '((constructor))' $*.c > .constructor; \
|
|
||||||
- if [ -s .constructor ]; then \
|
|
||||||
+ grep -q '((constructor))' $*.c && { \
|
|
||||||
echo "gcc -Wall -g -shared -rdynamic -o $@ $*.c -fPIC -D$(TARGET) $(TARGET_CFLAGS) $(GDB_FLAGS)"; \
|
|
||||||
gcc -Wall -g -shared -rdynamic -o $@ $*.c -fPIC -D$(TARGET) $(TARGET_CFLAGS) $(GDB_FLAGS); \
|
|
||||||
- fi; \
|
|
||||||
- if [ ! -s .constructor ]; then \
|
|
||||||
+ } || { \
|
|
||||||
echo "gcc -Wall -g -nostartfiles -shared -rdynamic -o $@ $*.c -fPIC -D$(TARGET) $(TARGET_CFLAGS) $(GDB_FLAGS)"; \
|
|
||||||
gcc -Wall -g -nostartfiles -shared -rdynamic -o $@ $*.c -fPIC -D$(TARGET) $(TARGET_CFLAGS) $(GDB_FLAGS); \
|
|
||||||
- fi; \
|
|
||||||
- rm -f .constructor; \
|
|
||||||
+ }; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
clean:
|
|
BIN
gdb-10.2.tar.gz
(Stored with Git LFS)
BIN
gdb-10.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
BIN
gdb-16.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
gdb-16.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
gdb-16.2.tar.gz.sig
Normal file
BIN
gdb-16.2.tar.gz.sig
Normal file
Binary file not shown.
Reference in New Issue
Block a user