From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G1snF-0000No-69 for qemu-devel@nongnu.org; Sat, 15 Jul 2006 18:39:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G1snD-0000Jk-3S for qemu-devel@nongnu.org; Sat, 15 Jul 2006 18:39:24 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G1snC-0000Jd-UQ for qemu-devel@nongnu.org; Sat, 15 Jul 2006 18:39:22 -0400 Received: from [65.74.133.4] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G1spV-0004qd-Mq for qemu-devel@nongnu.org; Sat, 15 Jul 2006 18:41:46 -0400 From: Paul Brook Subject: Re: [Qemu-devel] fix for qemu-* looping forever on symlinks (patch attached) Date: Sat, 15 Jul 2006 23:39:16 +0100 References: <8e2a98be0607131931i614eae05n8b95715e13f46efd@mail.gmail.com> <200607140430.01678.paul@codesourcery.com> <5b5833aa0607151534w266d1164if03f75ff1de3978b@mail.gmail.com> In-Reply-To: <5b5833aa0607151534w266d1164if03f75ff1de3978b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607152339.16734.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Saturday 15 July 2006 23:34, Anderson Lizardo wrote: > On 7/13/06, Paul Brook wrote: > > The whole point of the -L option is so that it picks up target shared > > libraries, eg. in lib and usr/lib. By my reading your patch makes the -L > > option do absolutely nothing, which can't be right. > > > > The proper fix is to do the lookups when a file is accesses (possibly > > with caching) not pre-scan the whole tree. > > Is it possible to use the same cache format as ld.so I don't think there's any point having a persistent cache, and I don't thin the ld.so format would be particularly appropriate either. Qemu just does straight filename translation. Paul