[Top] [All Lists]

Re: ll/sc emulation patch

To: "H . J . Lu" <>
Subject: Re: ll/sc emulation patch
From: "Maciej W. Rozycki" <>
Date: Mon, 16 Jul 2001 22:33:42 +0200 (MET DST)
Cc: Mike McDonald <>,,
In-reply-to: <>
Organization: Technical University of Gdansk
On Mon, 16 Jul 2001, H . J . Lu wrote:

> ls shouldn't bother with clock_gettime, which is in librt and librt
> needs libpthreads. RedHat 7.1 has a similar patch to make 3.79.1 to
> get around it. Otherwise, make won't work right due to the 2MB stack
> limit imposed by libpthreads.

 ls.c contains an explicit reference to clock_gettime() in its
get_current_time() function.  The reference was added quite recently but
ChangeLog does not contain a relevant entry.  In any case clock_gettime()
provides a better resolution than gettimeofday() does.  Did you or someone
else contacted the maintainer to clarify the issue?  RedHat isn't the
whole world. 

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>