Notice clock_* functions in librt.so for old GLIBC_2.18 builds?
Adhemerval Zanella
azanella@linux.vnet.ibm.com
Fri Feb 21 12:04:00 GMT 2014
On 21-02-2014 07:37, Andreas Schwab wrote:
> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> "Carlos O'Donell" <carlos@redhat.com> writes:
>>
>>> The conditional is:
>>> #if SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_17)
>>>
>>> Which should result in no code if the ABI starts at
>>> GLIBC_2_17 or later.
>> I think the problem is that there is no GLIBC_2.17 in Versions.def for
>> librt. If the minimum version is GLIBC_2.17 this is implicit, but with
>> GLIBC_2.18 or later this doesn't work.
> I have verified that after adding this the clock_* symbols disapper when
> building with a minimum version of GLIBC_2.18. I have installed this
> patch. Perhaps there is a way to automatically validate all uses of
> SHLIB_COMPAT wrt. missing entries in Versions.def.
>
> Andreas.
Shouldn't we just add new version for each GLIBC release to automatically avoid suck issue?
Is there any downside about doing it?
More information about the Libc-alpha
mailing list