Require install-info

Also add a symbol to gcc14-libstdc++-compat.patch

Resolves: RHEL-76087
This commit is contained in:
Marek Polacek 2025-01-23 14:04:30 -05:00
parent 88f2f199fa
commit 225dcba4e6
2 changed files with 5 additions and 1 deletions

View File

@ -445,6 +445,8 @@ Summary: Fortran support for GCC %{gcc_major}
Requires: %{?scl_prefix}gcc%{!?scl:13} = %{version}-%{release}
Requires: libgfortran >= 8.1.1
Autoreq: true
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%if %{build_libquadmath}
%if 0%{!?scl:1}
@ -2832,6 +2834,7 @@ fi
- revert -mearly-ldp-fusion and -mlate-ldp-fusion default to enabled on
aarch64 to match upstream (RHEL-74058)
- consider TARGET_EXPR invariant like SAVE_EXPR (PR c++/118509)
- have gfortran require install-info (RHEL-76087)
* Thu Aug 22 2024 Marek Polacek <polacek@redhat.com> 14.2.1-1.2
- bump NVR (RHEL-53492)

View File

@ -7996,7 +7996,7 @@
+//asm (".hidden _ZNSt10filesystem7__cxx114_DirC2ERKNS0_4pathEbbbRSt10error_code");
--- libstdc++-v3/src/nonshared17/fs_ops80.cc.jj 2024-07-18 16:10:38.338406596 +0200
+++ libstdc++-v3/src/nonshared17/fs_ops80.cc 2024-07-19 15:49:59.793786981 +0200
@@ -0,0 +1,103 @@
@@ -0,0 +1,104 @@
+// Copyright (C) 2019-2024 Free Software Foundation, Inc.
+//
+// This file is part of the GNU ISO C++ Library. This library is free
@ -8020,6 +8020,7 @@
+// <http://www.gnu.org/licenses/>.
+
+#include "../c++17/fs_ops.cc"
+asm (".hidden _ZNSt10filesystem11equiv_filesEPKcRK4statS1_S4_RSt10error_code");
+asm (".hidden _ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEED0Ev");
+asm (".hidden _ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEED1Ev");
+asm (".hidden _ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEED2Ev");