14
0
forked from pool/crash

Compare commits

...

2 Commits

Author SHA256 Message Date
2994fe40fc Merge pull request 'Update to crash 9.0.0' (#1) from akumar/crash:main into main
Reviewed-on: #1

Okay, I haven't runtime tested it but it looks exactly as I would have made the same base source upgrades myself. Thank you.
2025-05-12 22:17:05 +02:00
9c9cf6e349 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
2025-05-08 18:06:50 +02:00
9 changed files with 19 additions and 47 deletions

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

Binary file not shown.

View File

@@ -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>

View File

@@ -61,16 +61,16 @@ URL: https://crash-utility.github.io/
Summary: Crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles
License: GFDL-1.2-only AND GPL-3.0-or-later
Group: Development/Tools/Debuggers
Version: 8.0.6
Version: 9.0.0
Release: 0
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
Source3: README.SUSE
Source4: sial-scripts-%{scripts_version}.tar.bz2
Source5: gcore-%{gcore_version}.tar.bz2
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
Source95: get-kernel-flavors.sh
Source96: depmod.sh
@@ -97,12 +97,13 @@ Patch90: %{name}-sial-ps-2.6.29.diff
Patch99: %{name}-usrmerge.patch
Patch100: gcore-fix-use-of-set_context.patch
Patch101: fix_extensions_makefile_race_condition.patch
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: gmp-devel
BuildRequires: lzo-devel
BuildRequires: makeinfo
BuildRequires: mpfr-devel
BuildRequires: ncurses-devel
%if %{have_snappy}
BuildRequires: snappy-devel
@@ -261,7 +262,6 @@ for f in %{S:100} %{S:101}; do
done
%patch -P 32 -p1
%patch -P 101 -p1
## SIAL patches
cd sial-scripts-%{scripts_version}

View File

@@ -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)

Binary file not shown.

Binary file not shown.

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

Binary file not shown.