Bug 1661513

Summary: glibc: Adjust to rpm's find-debuginfo.sh changes, to keep stripping binaries
Product: Red Hat Enterprise Linux 8 Reporter: Florian Weimer <fweimer>
Component: glibcAssignee: DJ Delorie <dj>
Status: CLOSED ERRATA QA Contact: Martin Coufal <mcoufal>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: ali.erdinc.koroglu, ashankar, codonell, dj, fweimer, mcermak, mcoufal, mnewsome, pfrankli, sipoyare, skolosov
Target Milestone: rcKeywords: Bugfix, Reopened, Triaged
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.28-185.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1661510 Environment:
Last Closed: 2022-05-10 15:17:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1661510, 1689810, 2019540    
Bug Blocks:    

Description Florian Weimer 2018-12-21 12:30:00 UTC
+++ This bug was initially created as a clone of Bug #1661510 +++

+++ This bug was initially created as a clone of Bug #1661508 +++

The fix for bug 1186563 has the side effect that binaries are no longer stripped because glibc.spec uses the -g option.  This adds a measurable overhead to the packages.

Comment 13 Carlos O'Donell 2021-01-18 17:28:41 UTC
We are still reviewing this for inclusion in Red Hat Enterprise Linux. Packaging work is required and we are looking at this overall between Fedora, and RHEL.

Comment 14 RHEL Program Management 2021-02-01 07:31:24 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 15 Florian Weimer 2021-05-20 12:06:08 UTC
Fedora has implemented a solution for this. It seems to work well. We could apply the same change downstream, to benefit from the installation size reduction.

Comment 17 Florian Weimer 2021-08-25 12:46:41 UTC
I think Fedora 33 has the changes we need, especially in the form of the wrapper script: https://src.fedoraproject.org/rpms/glibc/blob/f33/f/wrap-find-debuginfo.sh

Comment 23 Florian Weimer 2021-12-15 08:17:27 UTC
rpm-4.14.3-20.el8 is in the buildroot, so this should now be unblocked.

Comment 34 errata-xmlrpc 2022-05-10 15:17:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (glibc bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2005

Comment 35 Florian Weimer 2022-07-01 18:47:23 UTC
Please note that as part of this change, we now always keep debuginfo for ld.so to help with dynamic loader introspection. See bug 2102778 for some discussion regarding that.