From 6e47aa3beb4844705f0e0e80bfe9e0be0d7a20e5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 4 Aug 2023 08:35:59 +0100 Subject: [PATCH] Add expected linker test failure for s390x. Resolves: #2217911 --- binutils-testsuite-fixes.patch | 10 ++++++++++ binutils.spec | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/binutils-testsuite-fixes.patch b/binutils-testsuite-fixes.patch index c0756a0..7e086bc 100644 --- a/binutils-testsuite-fixes.patch +++ b/binutils-testsuite-fixes.patch @@ -1221,3 +1221,13 @@ diff -rup binutils.orig/ld/testsuite/ld-elf/tls.exp binutils-2.40/ld/testsuite/l + *\[0x.*\] bar: ID 0x[0-9a-f]*: \(kind 8\) enum foo:1 \[slice 0x.*:0x1\] \(format 0x1\) \(size 0x1\) \(aligned at 0x1\) #... +--- binutils.orig/ld/testsuite/ld-shared/shared.exp 2023-08-03 16:29:35.541625154 +0100 ++++ binutils-2.40/ld/testsuite/ld-shared/shared.exp 2023-08-03 16:38:09.990388416 +0100 +@@ -270,6 +270,7 @@ if ![ld_compile "$CC_FOR_TARGET $SHCFLAG + setup_xfail "aarch64*-*-linux*" + # Solaris defaults to -z text. + setup_xfail "*-*-solaris2*" ++ setup_xfail "s390*-*-*" + shared_test shnp "shared (non PIC, load offset)" \ + mainnp.o sh1np.o sh2np.o shared \ + "-Wl,-T,$srcdir/$subdir/elf-offset.ld,--hash-style=sysv" diff --git a/binutils.spec b/binutils.spec index fa4a8a0..01cceba 100644 --- a/binutils.spec +++ b/binutils.spec @@ -9,7 +9,7 @@ BuildRequires: scl-utils-build Summary: A GNU collection of binary utilities Name: %{?scl_prefix}binutils Version: 2.40 -Release: 13%{?dist} +Release: 14%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -1276,6 +1276,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Thu Aug 03 2023 Nick Clifton - 2.40-14 +- Add expected linker test failure for s390x. (#2228870) + * Thu Aug 03 2023 Nick Clifton - 2.40-13 - Spec File: Really fix building with GTS-13 gcc. (#2217911)