[PATCH] Export __vdso_clock_gettime as GLIBC_PRIVATE

H.J. Lu hjl.tools@gmail.com
Thu Jan 22 12:44:00 GMT 2015


On Thu, Jan 22, 2015 at 12:05 AM, Siddhesh Poyarekar
<siddhesh@redhat.com> wrote:
> Hi,
>
> We added vDSO support for time functions on i386 recently, but the
> __vdso_clock_gettime symbol was kept as an internal symbol.  This is
> fine for glibc as is, but it breaks Fedora builds since rtkaio now
> needs access to __vdso_clock_gettime.  I could maintain a patch in
> Fedora that exports this symbol as GLIBC_PRIVATE, but I reckon that it
> might be more consistent to put it upstream since all of the
> architectures that have vDSO time support export the symbol in
> GLIBC_PRIVATE already.
>
> Tested on i386 to verify that the build completes successfully.  OK to
> commit?
>

Can you explain why __clock_gettime isn't sufficient?

-- 
H.J.



More information about the Libc-alpha mailing list