[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] fix for qemu-* looping forever on symlinks (patch attac
Re: [Qemu-devel] fix for qemu-* looping forever on symlinks (patch attached)
Sat, 15 Jul 2006 18:34:40 -0400
On 7/13/06, Paul Brook <address@hidden> 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
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?