From 3c257663541bc5c29c7da0364eb5439d63a675ad Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 6 Jun 2023 09:47:36 -0400 Subject: [PATCH] Don't require GTS13 binutils yet Resolves: #2188498 --- gcc.spec | 5 +++-- gcc13-libstdc++-compat.patch | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc.spec b/gcc.spec index d517693..aa21189 100644 --- a/gcc.spec +++ b/gcc.spec @@ -196,8 +196,9 @@ URL: http://gcc.gnu.org # Need binutils which support .loc view >= 2.30 # Need binutils which support --generate-missing-build-notes=yes >= 2.31 %if 0%{?scl:1} -BuildRequires: %{?scl_prefix}binutils >= 2.31 -BuildRequires: %{?scl_prefix}gdb >= 7.4.50 +# FIXME XXX +#BuildRequires: %{?scl_prefix}binutils >= 2.31 +#BuildRequires: %{?scl_prefix}gdb >= 7.4.50 %endif # While gcc doesn't include statically linked binaries, during testing # -static is used several times. diff --git a/gcc13-libstdc++-compat.patch b/gcc13-libstdc++-compat.patch index e49e0b5..48c58b5 100644 --- a/gcc13-libstdc++-compat.patch +++ b/gcc13-libstdc++-compat.patch @@ -10158,7 +10158,7 @@ +asm (".hidden _ZTSSt12codecvt_utf8IwLm1114111ELSt12codecvt_mode0EE"); +asm (".hidden _ZTVNSt10filesystem4path8_CodecvtIwEE"); +asm (".hidden _ZTVSt12codecvt_utf8IwLm1114111ELSt12codecvt_mode0EE"); -+asm (".hidden _ZNSt12_Destroy_auxILb0EE9__destroyIPNSt10filesystem4path5_CmptEEEvT_S6_"); ++//asm (".hidden _ZNSt12_Destroy_auxILb0EE9__destroyIPNSt10filesystem4path5_CmptEEEvT_S6_"); --- libstdc++-v3/src/nonshared17/memory_resource.cc.jj 2023-05-19 12:22:56.799881298 +0200 +++ libstdc++-v3/src/nonshared17/memory_resource.cc 2023-05-19 19:21:05.014137551 +0200 @@ -0,0 +1,68 @@