[PATCH v2] elf: Implement filtering of symbols historically defined in libpthread

Adhemerval Zanella adhemerval.zanella@linaro.org
Wed May 5 14:10:02 GMT 2021



On 05/05/2021 10:44, Florian Weimer via Libc-alpha wrote:
> Definitions of these symbols in libc expose bugs in existing binaries
> linked against earlier glibc versions.  Therefore, hide these symbols
> for old binaries.
> 
> The symbol list in sysdeps/nptl/dl-pthread-weak.c contains some
> symbols which have not been moved yet, but that is harmless because
> the function is only invoked if the symbol is found in libc.so.
Can we postpone this fix until we get all the symbols from libpthread
properly moved? I really dislike the symbol filter list, it is error
prone and add unnecessary code size.


More information about the Libc-alpha mailing list