Use Requires(pre): libgcc%{_isa} to libgcc cycle (RHEL-106166)

Resolves: RHEL-106166
This commit is contained in:
Florian Weimer 2025-07-29 16:21:28 +02:00
parent f9e37fbb1e
commit fa3ab05721

View File

@ -157,7 +157,7 @@ end \
Summary: The GNU libc libraries
Name: glibc
Version: %{glibcversion}
Release: 220%{?dist}
Release: 221%{?dist}
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
# libraries.
@ -1349,6 +1349,9 @@ Provides: rtld(GNU_HASH)
# We need libgcc for cancellation support in POSIX threads.
Requires: libgcc%{_isa}
# Encourage the package manager to break the libgcc/glibc dependency
# cycle by installing libgcc first. (This is the historic installation order.)
Requires(pre): libgcc%{_isa}
Requires: glibc-common = %{version}-%{release}
@ -3322,6 +3325,9 @@ update_gconv_modules_cache ()
%endif
%changelog
* Tue Jul 29 2025 Florian Weimer <fweimer@redhat.com> - 2.34-221
- Use Requires(pre): libgcc%%{_isa} to libgcc cycle (RHEL-106166)
* Mon Jul 28 2025 Frédéric Bérat <fberat@redhat.com> - 2.34-220
- Revert downstream changes as `_dl_find_object` has been backported
(RHEL-105957)