Do not use wildcard symbol names for public versions in Versions files

Florian Weimer fweimer@redhat.com
Thu Apr 20 20:20:00 GMT 2017


On 04/20/2017 09:58 PM, Joseph Myers wrote:
> As noted in
> <https://sourceware.org/ml/libc-alpha/2012-12/msg00240.html>,
> stdlib/Versions and wcsmbs/Versions list some functions as
> __strto*_internal and __wcsto*_internal rather than explicitly listing
> the symbols to be exported (so any new internal function matching one
> of those patterns would be wrongly added to version GLIBC_2.0), which
> seems like a bad idea.  This patch changes those files to list the
> exported symbols explicitly.  There are still entries in
> sysdeps/nacl/Versions for __nacl_irt_*, but as GLIBC_PRIVATE symbols
> that seems less significant.

Thanks for doing this.  Looks good.

> Tested with build-many-glibcs.py that installed stripped shared
> libraries are unchanged by the patch.

Do you have a script for that?

Florian



More information about the Libc-alpha mailing list