This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Notice clock_* functions in librt.so for old GLIBC_2.18 builds?
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: Andreas Jaeger <aj at suse dot com>, Michael Matz <matz at suse dot de>, Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>, Adam Conrad <adconrad at 0c3 dot net>, GNU C Library <libc-alpha at sourceware dot org>, Roland McGrath <roland at hack dot frob dot com>
- Date: Fri, 21 Feb 2014 10:41:12 +0100
- Subject: Re: Notice clock_* functions in librt.so for old GLIBC_2.18 builds?
- Authentication-results: sourceware.org; auth=none
- References: <53070029 dot 90407 at redhat dot com>
"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.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."