[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] gettime and LIB_CLOCK_GETTIME

From: Paul Eggert
Subject: Re: [Bug-gnulib] gettime and LIB_CLOCK_GETTIME
Date: Sat, 07 Aug 2004 21:06:39 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> Thoughts?

Coreutils uses gettime, and carefully links @LIB_CLOCK_GETTIME@ only
into applications that need it.  On hosts that access dynamic
libraries via NFS, or may even be missing some libraries, this
prevents, say GNU "rm" from hanging (or failing) simply because the rt
library isn't available, as "rm" doesn't need any rt functions.

> I guess requiring each project to add LIB_CLOCK_GETTIME to the LIBADD
> for each binary that use gettime is a solution, although it seem like
> a kludge.

Yes, that's the current situation, at least with coreutils.
Unfortunately.  I'd like there to be a better solution.

>I think it should be better documented, in doc/ somewhere.  (I can
>propose something.)

Yes, that would be nice.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]