public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Christoph Erhardt <fedora@sicherha.de>
To: git-commits@fedoraproject.org
Subject: [rpms/mold] rawhide: Update to 2.42.0 (#2514550)
Date: Sun, 30 Aug 2026 18:30:18 GMT [thread overview]
Message-ID: <178811461867.1.10092253614346587004.rpms-mold-352428b6aa57@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mold
Branch : rawhide
Commit : 352428b6aa57ff85945ffca1124d03d400b94a1c
Author : Christoph Erhardt <fedora@sicherha.de>
Date : 2026-08-30T20:29:52+02:00
Stats : +3/-83 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/mold/c/352428b6aa57ff85945ffca1124d03d400b94a1c?branch=rawhide
Log:
Update to 2.42.0 (#2514550)
---
diff --git a/0002-Fix-textrel2-test-on-Fedora-44.patch b/0002-Fix-textrel2-test-on-Fedora-44.patch
deleted file mode 100644
index fb31a2f..0000000
--- a/0002-Fix-textrel2-test-on-Fedora-44.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 76fdf61b5d16116e31eedc7f79c28115a52ffdb9 Mon Sep 17 00:00:00 2001
-From: Christoph Erhardt <github@sicherha.de>
-Date: Fri, 30 Jan 2026 21:18:32 +0100
-Subject: [PATCH 2/2] Fix `textrel2` test on Fedora 44
-
-Tell the GNU linker to not report dynamic relocations in read-only
-sections as an error.
----
- test/textrel2.sh | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/test/textrel2.sh b/test/textrel2.sh
-index 7faedb73..722f0207 100755
---- a/test/textrel2.sh
-+++ b/test/textrel2.sh
-@@ -16,13 +16,13 @@ int main() {
- }
- EOF
-
--$CC -o $t/exe1 $t/a.o -pie
-+$CC -o $t/exe1 $t/a.o -pie -Wl,-z,notext
- $QEMU $t/exe1 || skip
-
- $CC -B. -o $t/exe2 $t/a.o -pie
- $QEMU $t/exe2 | grep 'Hello world'
-
--$CC -o $t/exe3 $t/a.o -pie -Wl,-z,pack-relative-relocs 2> /dev/null || skip
-+$CC -o $t/exe3 $t/a.o -pie -Wl,-z,notext -Wl,-z,pack-relative-relocs 2> /dev/null || skip
- readelf -WS $t/exe3 | grep -F .relr.dyn || skip
- $QEMU $t/exe3 2> /dev/null | grep 'Hello world' || skip
-
---
-2.52.0
-
diff --git a/0003-Fix-ambiguous-readelf-option-in-gdb-index-dwarf5-tes.patch b/0003-Fix-ambiguous-readelf-option-in-gdb-index-dwarf5-tes.patch
deleted file mode 100644
index 58ee77d..0000000
--- a/0003-Fix-ambiguous-readelf-option-in-gdb-index-dwarf5-tes.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From e77e9d52b8fa1aecb88ba5362365880b45491c74 Mon Sep 17 00:00:00 2001
-Message-ID: <e77e9d52b8fa1aecb88ba5362365880b45491c74.1784701743.git.github@sicherha.de>
-From: Andreas Schwab <schwab@suse.de>
-Date: Tue, 19 May 2026 16:34:57 +0200
-Subject: [PATCH] Fix ambiguous readelf option in gdb-index-dwarf5 test
-
-The binutils readelf command now accepts a --debug-dir=<DIR> option which
-makes --debug=gdb_index ambiguous.
----
- test/gdb-index-dwarf5.sh | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/test/gdb-index-dwarf5.sh b/test/gdb-index-dwarf5.sh
-index 21057b44..e94ca2f2 100755
---- a/test/gdb-index-dwarf5.sh
-+++ b/test/gdb-index-dwarf5.sh
-@@ -63,8 +63,8 @@ $CC -c -o $t/d.o $t/d.c -fPIC -g -ggnu-pubnames -gdwarf-5 -ffunction-sections
-
- $CC -B. -shared -o $t/e.so $t/a.o $t/b.o $t/c.o $t/d.o -Wl,--gdb-index
- readelf -WS $t/e.so 2> /dev/null | grep -F .gdb_index
--readelf --debug=gdb_index $t/e.so 2> /dev/null | grep 'fn1: .* \[global, function\]'
--readelf --debug=gdb_index $t/e.so 2> /dev/null | grep 'char: .* \[static, type\]'
-+readelf --debug-dump=gdb_index $t/e.so 2> /dev/null | grep 'fn1: .* \[global, function\]'
-+readelf --debug-dump=gdb_index $t/e.so 2> /dev/null | grep 'char: .* \[static, type\]'
-
- cat <<EOF | $CC -c -o $t/f.o -fPIC -g -ggnu-pubnames -gdwarf-5 -xc - -gz
- void fn1();
-@@ -76,7 +76,7 @@ EOF
-
- $CC -B. -o $t/exe $t/e.so $t/f.o -Wl,--gdb-index
- readelf -WS $t/exe 2> /dev/null | grep -F .gdb_index
--readelf --debug=gdb_index $t/exe 2> /dev/null | grep 'main: .* \[global, function\]'
-+readelf --debug-dump=gdb_index $t/exe 2> /dev/null | grep 'main: .* \[global, function\]'
-
- $QEMU $t/exe | grep 'Hello world'
-
---
-2.55.0
-
diff --git a/mold.spec b/mold.spec
index f5e2c30..8061288 100644
--- a/mold.spec
+++ b/mold.spec
@@ -6,7 +6,7 @@
%global has_32bit_support 0%{?rhel} < 10
Name: mold
-Version: 2.41.0
+Version: 2.42.0
Release: %autorelease
Summary: A Modern Linker
@@ -21,13 +21,6 @@ Source0: %{forgesource}
# Allow building against the system-provided `xxhash.h`
Patch0: 0001-Use-system-compatible-include-path-for-xxhash.h.patch
-# Fix `textrel2` test on Fedora 44 (https://github.com/rui314/mold/pull/1547)
-Patch1: 0002-Fix-textrel2-test-on-Fedora-44.patch
-
-# Fix `gdb-index-dwarf5` test on Fedora 45
-# (https://github.com/rui314/mold/pull/1586)
-Patch2: 0003-Fix-ambiguous-readelf-option-in-gdb-index-dwarf5-tes.patch
-
BuildRequires: blake3-devel
BuildRequires: cmake
%if %{use_gcc_toolset}
@@ -37,7 +30,7 @@ BuildRequires: gcc
BuildRequires: gcc-c++ >= 10
%endif
BuildRequires: libzstd-devel
-BuildRequires: mimalloc-devel
+BuildRequires: mimalloc-devel >= 3
BuildRequires: xxhash-static
BuildRequires: zlib-devel
diff --git a/sources b/sources
index 2990d4e..4ee62a4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mold-2.41.0.tar.gz) = 5ba667bbf0e7829c55268de5b8276ecb4f54972d0459a856c1d8c26d95890adfc7be1f1b229871e722f63760b3a9fd859d45128535ecebc76fdd55da52ac52ef
+SHA512 (mold-2.42.0.tar.gz) = a0ab118e22e8647bd113def9d7e907ecec70d6b3175593df496dc063722413bf60d5f5bc221c7b29e4ad61093451ba0e7ee16830118c91943db8b62b1d1a81ef
reply other threads:[~2026-08-30 18:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178811461867.1.10092253614346587004.rpms-mold-352428b6aa57@fedoraproject.org \
--to=fedora@sicherha.de \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox