From 225dcba4e6cd6fc6c799a36a33b0126d92335275 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Thu, 23 Jan 2025 14:04:30 -0500 Subject: [PATCH] Require install-info Also add a symbol to gcc14-libstdc++-compat.patch Resolves: RHEL-76087 --- gcc.spec | 3 +++ gcc14-libstdc++-compat.patch | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc.spec b/gcc.spec index 75b6cfa..603c2c0 100644 --- a/gcc.spec +++ b/gcc.spec @@ -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 14.2.1-1.2 - bump NVR (RHEL-53492) diff --git a/gcc14-libstdc++-compat.patch b/gcc14-libstdc++-compat.patch index 2ddc593..d86b7f3 100644 --- a/gcc14-libstdc++-compat.patch +++ b/gcc14-libstdc++-compat.patch @@ -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 @@ +// . + +#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");