From: "Anderson Lizardo" <anderson.lizardo@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] fix for qemu-* looping forever on symlinks (patch attached)
Date: Sat, 15 Jul 2006 18:34:40 -0400 [thread overview]
Message-ID: <5b5833aa0607151534w266d1164if03f75ff1de3978b@mail.gmail.com> (raw)
In-Reply-To: <200607140430.01678.paul@codesourcery.com>
On 7/13/06, Paul Brook <paul@codesourcery.com> 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
(/etc/ld.so.cache)? So a command like
qemu-arm -L /target program
would make qemu look for /target/etc/ld.so.cache as its cache, and a
command like:
qemu-arm -L /target /target/sbin/ldconfig
would update this cache. Unless the cache you are proposing has
different purposes than ld.so's cache?
Regards,
--
Anderson Lizardo
next prev parent reply other threads:[~2006-07-15 22:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-14 2:31 [Qemu-devel] fix for qemu-* looping forever on symlinks (patch attached) Michael Gilbert
2006-07-14 3:30 ` Paul Brook
2006-07-15 22:34 ` Anderson Lizardo [this message]
2006-07-15 22:39 ` Paul Brook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5b5833aa0607151534w266d1164if03f75ff1de3978b@mail.gmail.com \
--to=anderson.lizardo@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).