[PATCH 0/4] Do not install shared objects under versioned names

Florian Weimer fweimer@redhat.com
Mon Jun 14 11:04:10 GMT 2021


* Florian Weimer via Libc-alpha:

> This is essentially a repost of the “Add --disable-major-minor-libraries
> configure option” series.  Joseph suggested that the configure option is
> not needed, so this version implements the change unconditionally.
>
> Tested on i686-linux-gnu and x86_64-linux-gnu.  I compared two
> build-many-glibcs.py trees with and without these patches, using this
> command to see if there are missing files besides the versioned DSOs or
> any dangling symbolic links.
>
> cd /home/bmg/install/glibcs && find -printf '%P\n' \
>   | while read x ; do
>     test -r /home/bmg-install-glibcs/$x || echo $x
>   done \
>   | grep -v '\-2\.33\.9000\.so$' | grep -v '/libthread_db-1\.0\.so$'
>
> /home/bmg/install/glibcs is the unpatched build,
> /home/bmg-install-glibcs is the build with the patches applied.  As
> expected, there was no output.

What are general thoughts about this change?  Should we do it?

If there's an emerging consensus that we want it, I can backport it
downstream because we really need it there, and drop the patches once
they have been merged.  But I really don't want to carry another bunch
of downstream-only patches indefinitely.

Thanks,
Florian



More information about the Libc-alpha mailing list