From 1f5b5a6a70b5023074062523017a08bf9dc04656 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 15 Dec 2023 16:33:19 -0500 Subject: [PATCH] 13.2.1-6.2 Fix for libstdc++_nonshared.a on ppc64le Resolves: RHEL-17960 --- gcc.spec | 5 ++++- gcc13-libstdc++-compat.patch | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc.spec b/gcc.spec index f686de6..dacbcd5 100644 --- a/gcc.spec +++ b/gcc.spec @@ -149,7 +149,7 @@ BuildRequires: scl-utils-build Summary: GCC version 13 Name: %{?scl_prefix}gcc Version: %{gcc_version} -Release: %{gcc_release}.1%{?dist} +Release: %{gcc_release}.2%{?dist} # libgcc, libgfortran, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD @@ -2907,6 +2907,9 @@ fi %endif %changelog +* Fri Dec 15 2023 Marek Polacek 13.2.1-6.2 +- fix for libstdc++_nonshared.a on ppc64le (RHEL-17960) + * Mon Dec 11 2023 Marek Polacek 13.2.1-6.1 - add f95 (RHEL-17655) diff --git a/gcc13-libstdc++-compat.patch b/gcc13-libstdc++-compat.patch index 8a26bf1..c3fc803 100644 --- a/gcc13-libstdc++-compat.patch +++ b/gcc13-libstdc++-compat.patch @@ -9943,9 +9943,9 @@ +#endif +#if defined (__powerpc64__) +asm (".hidden _ZSt10from_charsPKcS0_Ru9__ieee128St12chars_format"); -+asm (".hidden _ZSt8to_charsPcS_u9__ieee128"); -+asm (".hidden _ZSt8to_charsPcS_u9__ieee128St12chars_format"); -+asm (".hidden _ZSt8to_charsPcS_u9__ieee128St12chars_formati"); ++//asm (".hidden _ZSt8to_charsPcS_u9__ieee128"); ++//asm (".hidden _ZSt8to_charsPcS_u9__ieee128St12chars_format"); ++//asm (".hidden _ZSt8to_charsPcS_u9__ieee128St12chars_formati"); +#endif +asm (".hidden _ZNSt8__detail31__from_chars_alnum_to_val_tableILb0EE5valueE"); +#ifdef __i386__