Disable dependencies and linking for libc_malloc_debug.so
Do not provide anything from libc_malloc_debug.so and do not allow linking against it. Resolves: #1985048
This commit is contained in:
parent
a5d3c595e7
commit
94957f0655
@ -151,7 +151,7 @@ end \
|
||||
Summary: The GNU libc libraries
|
||||
Name: glibc
|
||||
Version: %{glibcversion}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
|
||||
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
|
||||
# libraries.
|
||||
@ -342,6 +342,7 @@ BuildRequires: perl-interpreter
|
||||
# Filter out all GLIBC_PRIVATE symbols since they are internal to
|
||||
# the package and should not be examined by any other tool.
|
||||
%global __filter_GLIBC_PRIVATE 1
|
||||
%global __provides_exclude ^libc_malloc_debug\\.so.*$
|
||||
|
||||
# For language packs we have glibc require a virtual dependency
|
||||
# "glibc-langpack" wich gives us at least one installed langpack.
|
||||
@ -1483,6 +1484,9 @@ mkdir -p %{glibc_sysroot}%{_libdir}
|
||||
mv -f %{glibc_sysroot}/%{_lib}/lib{pcprofile,memusage}.so \
|
||||
%{glibc_sysroot}%{_libdir}
|
||||
|
||||
# Disallow linking against libc_malloc_debug.
|
||||
rm %{glibc_sysroot}%{_libdir}/libc_malloc_debug.so
|
||||
|
||||
# Strip all of the installed object files.
|
||||
strip -g %{glibc_sysroot}%{_libdir}/*.o
|
||||
|
||||
@ -2257,6 +2261,9 @@ fi
|
||||
%files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared
|
||||
|
||||
%changelog
|
||||
* Tue Aug 24 2021 Siddhesh Poyarekar <siddhesh@redhat.com> - 2.34.9000-3
|
||||
- Disable dependencies and linking for libc_malloc_debug.so (#1985048).
|
||||
|
||||
* Tue Aug 17 2021 DJ Delorie <dj@redhat.com> - 2.34.9000-2
|
||||
- Auto-sync with upstream branch master,
|
||||
commit b37b75d269883a2c553bb7019a813094eb4e2dd1.
|
||||
|
Loading…
Reference in New Issue
Block a user