linux-mips-fnet
[Top] [All Lists]

Re: ll/sc emulation patch

To: "H . J . Lu" <hjl@lucon.org>
Subject: Re: ll/sc emulation patch
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Mon, 16 Jul 2001 22:33:42 +0200 (MET DST)
Cc: Mike McDonald <mikemac@mikemac.com>, linux-mips@oss.sgi.com, linux-mips@fnet.fr
In-reply-to: <20010716130913.A1412@lucon.org>
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: macro@ds2.pg.gda.pl, PGP key available        +

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