On 4/29/21 12:09 PM, Florian Weimer wrote:
> I'd like to hear some feedback on this. It's quite hackish, but I think
> the complexity is reduced compared to what we had before.
>
> I asked about the macro rewrite on the devel list:
>
>
<
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
>
> My position on the static archives is that if we want debugging
> information for them, that should be a distribution-wide change
> (which I proposed a few years ago, but it was rejected).
>
> Thanks,
> Florian
> 8<------------------------------------------------------------------8<
> This needs a wrapper script around find-debuginfo.sh, so that
> ld.so is not stripped. Overall size for glibc.rpm with and without
> this change is reduced on x86_64:
>
> Before: 16146907
> After: 14396635
>
> This commit resolves debuginfo file conflicts (#1886295) because
> the ldconfig debuginfo file now includes the architecture name.
> All debugging information is preserved in ld.so (#1905611). With
> the distribution defaults, we strip all binaries again (#1661510).
What size impact does this have on ld.so
As I wrote, the proposed change decreases overall installation size.
/lib64/ld-2.33.9000.so alone grows from 288360 to 841728 bytes.
Thanks,
Florian