Compare commits
No commits in common. "c9s" and "c10s" have entirely different histories.
@ -1081,101 +1081,6 @@ diff -rup bin.orig/ld/testsuite/ld-x86-64/sframe-pltgot-2.d binutils-2.43.50-55e
|
||||
]
|
||||
}
|
||||
|
||||
--- binutils.orig/binutils/testsuite/binutils-all/compress.exp 2026-06-08 13:41:05.074493887 +0100
|
||||
+++ binutils-with-gold-2.46/binutils/testsuite/binutils-all/compress.exp 2026-06-08 13:50:07.569033260 +0100
|
||||
@@ -140,10 +140,10 @@ if ![string match "" $got] then {
|
||||
}
|
||||
|
||||
# Xfail this test if there are no compressed sections.
|
||||
-setup_xfail "$compression_used$target_triplet"
|
||||
set testname "objcopy compress debug sections in archive with zlib-gnu"
|
||||
set got [binutils_run $OBJCOPY "--compress-debug-sections=zlib-gnu ${copyfile}.a ${compressedcopyfile}.a"]
|
||||
if ![string match "" $got] then {
|
||||
+ setup_xfail "$compression_used$target_triplet"
|
||||
fail "objcopy ($testname)"
|
||||
} else {
|
||||
set got [remote_exec host "$OBJDUMP -s -j .zdebug_line ${compressedcopyfile}.a" "" "/dev/null" "tmpdir/libdw2-compressed.out"]
|
||||
@@ -154,8 +154,8 @@ if ![string match "" $got] then {
|
||||
send_log "\n"
|
||||
}
|
||||
|
||||
- setup_xfail "$compression_used$target_triplet"
|
||||
if { [regexp_diff tmpdir/libdw2-compressed.out $srcdir/$subdir/libdw2-compressed.out] } then {
|
||||
+ setup_xfail "$compression_used$target_triplet"
|
||||
fail "$testname"
|
||||
} else {
|
||||
pass "$testname"
|
||||
@@ -380,44 +380,18 @@ if ![string match "" $exec_output] then
|
||||
set testname "objcopy zlib-gabi compress debug sections with zlib-gnu"
|
||||
set got [binutils_run $OBJCOPY "--compress-debug-sections=zlib-gnu ${compressedfile}gabi.o ${copyfile}gnu.o"]
|
||||
if ![string match "" $got] then {
|
||||
- fail "objcopy ($testname)"
|
||||
+ fail "objcopy ($testname) (unexpected output)"
|
||||
return
|
||||
}
|
||||
-send_log "cmp ${compressedfile}gnu.o ${copyfile}gnu.o\n"
|
||||
-verbose "cmp ${compressedfile}gnu.o ${copyfile}gnu.o"
|
||||
-set src1 ${compressedfile}gnu.o
|
||||
-set src2 ${copyfile}gnu.o
|
||||
-set status [remote_exec build cmp "${src1} ${src2}"]
|
||||
-set exec_output [lindex $status 1]
|
||||
-set exec_output [prune_warnings $exec_output]
|
||||
-if ![string match "" $exec_output] then {
|
||||
- send_log "$exec_output\n"
|
||||
- verbose "$exec_output" 1
|
||||
- fail "objcopy ($testname)"
|
||||
-} else {
|
||||
- pass "objcopy ($testname)"
|
||||
-}
|
||||
+pass "objcopy ($testname)"
|
||||
|
||||
set testname "objcopy compress debug sections 3 with zlib-gabi"
|
||||
set got [binutils_run $OBJCOPY "--compress-debug-sections=zlib-gabi ${testfile3}.o ${copyfile}gabi.o"]
|
||||
if ![string match "" $got] then {
|
||||
- fail "objcopy ($testname)"
|
||||
+ fail "objcopy ($testname) (unexpected output)"
|
||||
return
|
||||
}
|
||||
-send_log "cmp ${compressedfile3}gabi.o ${copyfile}gabi.o\n"
|
||||
-verbose "cmp ${compressedfile3}gabi.o ${copyfile}gabi.o"
|
||||
-set src1 ${compressedfile3}gabi.o
|
||||
-set src2 ${copyfile}gabi.o
|
||||
-set status [remote_exec build cmp "${src1} ${src2}"]
|
||||
-set exec_output [lindex $status 1]
|
||||
-set exec_output [prune_warnings $exec_output]
|
||||
-if ![string match "" $exec_output] then {
|
||||
- send_log "$exec_output\n"
|
||||
- verbose "$exec_output" 1
|
||||
- fail "objcopy ($testname)"
|
||||
-} else {
|
||||
- pass "objcopy ($testname)"
|
||||
-}
|
||||
+pass "objcopy ($testname)"
|
||||
|
||||
set testname "objcopy decompress compressed debug sections 3 with zlib-gabi"
|
||||
set got [binutils_run $OBJCOPY "--decompress-debug-sections ${compressedfile3}gabi.o ${copyfile}gabi.o"]
|
||||
@@ -467,20 +441,7 @@ if ![string match "" $got] then {
|
||||
fail "objcopy ($testname)"
|
||||
return
|
||||
}
|
||||
-send_log "cmp ${compressedfile3}gnu.o ${copyfile}gnu.o\n"
|
||||
-verbose "cmp ${compressedfile3}gnu.o ${copyfile}gnu.o"
|
||||
-set src1 ${compressedfile3}gnu.o
|
||||
-set src2 ${copyfile}gnu.o
|
||||
-set status [remote_exec build cmp "${src1} ${src2}"]
|
||||
-set exec_output [lindex $status 1]
|
||||
-set exec_output [prune_warnings $exec_output]
|
||||
-if ![string match "" $exec_output] then {
|
||||
- send_log "$exec_output\n"
|
||||
- verbose "$exec_output" 1
|
||||
- fail "objcopy ($testname)"
|
||||
-} else {
|
||||
- pass "objcopy ($testname)"
|
||||
-}
|
||||
+pass "objcopy ($testname)"
|
||||
|
||||
set testname "objcopy zlib-gnu compress debug sections 3"
|
||||
set got [binutils_run $OBJCOPY "${compressedfile3}gnu.o ${copyfile}gnu.o"]
|
||||
--- binutils.orig/ld/testsuite/ld-vsb/vsb.exp 2026-06-08 13:41:08.963591902 +0100
|
||||
+++ binutils-with-gold-2.46/ld/testsuite/ld-vsb/vsb.exp 2026-06-08 13:51:38.305503190 +0100
|
||||
@@ -402,12 +402,6 @@ proc visibility_run {visibility} {
|
||||
@ -1191,16 +1096,6 @@ diff -rup bin.orig/ld/testsuite/ld-x86-64/sframe-pltgot-2.d binutils-2.43.50-55e
|
||||
}
|
||||
|
||||
# Now compile the code using -fpic.
|
||||
--- binutils.orig/ld/testsuite/ld-srec/srec.exp 2026-06-08 14:48:04.448866943 +0100
|
||||
+++ binutils-with-gold-2.46/ld/testsuite/ld-srec/srec.exp 2026-06-08 14:49:27.240507723 +0100
|
||||
@@ -489,6 +489,7 @@ setup_xfail "bfin-*-linux-uclibc"
|
||||
setup_xfail "tile*-*-*"
|
||||
setup_xfail "csky*-*-*"
|
||||
setup_xfail "bpf-*-*"
|
||||
+setup_xfail "i686-*-*"
|
||||
|
||||
run_srec_test $test2 "tmpdir/sr3.o"
|
||||
|
||||
--- binutils.orig/ld/testsuite/ld-vsb/vsb.exp 2026-06-08 14:48:04.461311027 +0100
|
||||
+++ binutils-with-gold-2.46/ld/testsuite/ld-vsb/vsb.exp 2026-06-08 16:14:22.446290582 +0100
|
||||
@@ -384,9 +384,7 @@ proc visibility_run {visibility} {
|
||||
|
||||
@ -10,12 +10,6 @@
|
||||
%{?scl_package:%global scl gcc-toolset-%{gts_ver}}
|
||||
%global scl_prefix gcc-toolset-%{gts_ver}-
|
||||
|
||||
%if %have_scl_utils
|
||||
BuildRequires: scl-utils-build
|
||||
%else
|
||||
BuildRequires: gcc-toolset-%{gts_ver}-devel
|
||||
%endif
|
||||
|
||||
%global __python /usr/bin/python3
|
||||
%{?scl:%scl_package binutils}
|
||||
|
||||
@ -27,7 +21,7 @@ Name: %{?scl_prefix}binutils
|
||||
# The variable %%{source} (see below) should be set to indicate which of these
|
||||
# origins is being used.
|
||||
Version: 2.46
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
|
||||
URL: https://sourceware.org/binutils
|
||||
|
||||
@ -390,6 +384,12 @@ BuildRequires: autoconf, automake, perl, sed, coreutils, make
|
||||
# Bison is used to generate gold/yyscript.c and ld/ldgram.c.
|
||||
BuildRequires: bison
|
||||
|
||||
%if %have_scl_utils
|
||||
BuildRequires: scl-utils-build
|
||||
%else
|
||||
BuildRequires: gcc-toolset-%{gts_ver}-devel
|
||||
%endif
|
||||
|
||||
%if %{with clang}
|
||||
|
||||
BuildRequires: clang compiler-rt
|
||||
@ -518,8 +518,13 @@ BuildRequires: libzstd-devel
|
||||
Requires: (%{?scl_prefix}runtime >= %{gts_ver} with %{?scl_prefix}runtime < %{gts_next})
|
||||
%endif
|
||||
|
||||
%if %{bootstrapping}
|
||||
%define alternatives_cmd /usr/sbin/alternatives
|
||||
%define alternatives_cmdline %{alternatives_cmd}
|
||||
%else
|
||||
%define alternatives_cmd %{!?scl:%{_sbindir}}%{?scl:%{_root_sbindir}}/alternatives
|
||||
%define alternatives_cmdline %{alternatives_cmd}%{?scl: --altdir %{_sysconfdir}/alternatives --admindir %{_scl_root}/var/lib/alternatives}
|
||||
%endif
|
||||
|
||||
Requires(post): %{alternatives_cmd}
|
||||
Requires(preun): %{alternatives_cmd}
|
||||
@ -1511,7 +1516,6 @@ exit 0
|
||||
|
||||
%if %{with docs}
|
||||
%{_mandir}/man1/
|
||||
%exclude %{_mandir}/man1/gp-*
|
||||
%exclude %{_mandir}/man1/gprofng*
|
||||
%{_infodir}/as.info.*
|
||||
%{_infodir}/binutils.info.*
|
||||
@ -1632,6 +1636,9 @@ exit 0
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
%changelog
|
||||
* Mon Jul 06 2026 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.46-2
|
||||
- Fix alternatives path when bootstrapping (RHEL-191862)
|
||||
|
||||
* Mon Jun 08 2026 Nick Clifton <nickc@redhat.com> - 2.46-1
|
||||
- Initial commit on c9s. (RHELMISC-34713)
|
||||
- Resolves: RHELMISC-34713
|
||||
- Initial commit on c10s. (RHELMISC-34705)
|
||||
- Resolves: RHELMISC-34705
|
||||
|
||||
Loading…
Reference in New Issue
Block a user