+++ This bug was initially created as a clone of Bug #1661512 +++
glibc relied on the behavior that bug 1186563 changed: We use -g, but do not want to apply it to programs.
It looks like this will need some find-debuginfo.sh change. (I am not interested in a hack that puts custom binaries on PATH or something like that.)
Based on bug 1661508 comment 2, I don't think we can achieve what we need with just glibc spec file changes, so we need some sort extension to find-debuginfo.sh.
So maybe we should consider reverting the rpm change instead. This was accepted into rhel-7 with the assumption that it was a simle and harmless backport, but instead we have a regression on glibc.
Btw, https://bugzilla.redhat.com/show_bug.cgi?id=1186563#c45 has some background on the -g thing.
Reverting of the patch looks as a good option.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
*** Bug 1982312 has been marked as a duplicate of this bug. ***