In article ,
Kamil Rytarowski wrote:
>
>This way we remove new users on link-time, and keep compat for run-time
>ones. No symbol versioning is needed.
>
>This approach can be used to prepare for major bump and removal of
>legacy interfaces like bcmp(3), strtoq(3) etc.
>
Here's how to do it using
Another case, tcl was using gethostbyname_r as well,
resulting in a runtime crash in code not frequently used:
http://core.tcl.tk/tcl/info/91466985995db6b5
On 06.10.2017 18:37, Taylor R Campbell wrote:
> We have a definition of the symbol gethostbyname_r in libc. It is
> problematic because:
>
> 1. It is not compatible with the glibc definition of the symbol.
> 2. It is not declared anywhere in a header file we install.
>
> So autoconf will detect
We have a definition of the symbol gethostbyname_r in libc. It is
problematic because:
1. It is not compatible with the glibc definition of the symbol.
2. It is not declared anywhere in a header file we install.
So autoconf will detect that the symbol exists, a C compiler with
-Wno-error will in