Derek Spadaro:
> It is v1.60 of f_op.c. This happens whenever a shared library is
> loaded for the first time (and is from then on OK). I have attached a
> strace example (of first and second executions when a library was not
> previously loaded).
Thank you.
While I don't know much about uClibc, is libc necessary too? Doesn't
uClibc replace libc?
And I want you to test these things.
- Assuming your /sfs has all libraries and binaries, execute the command
in squashfs.
# mount -t squashfs -o loop,ro /mnt/squashfs /sfs
# strace -fF chroot /sfs pdcpshim
- execute the command in tmpfs.
# mount -t tmpfs -o size=32M,nr_inodes=1k,mode=0700 tmpfs /rw
# mount -t squashfs -o loop,ro /mnt/squashfs /sfs
copy all necessary files from /sfs to /rw
# cd /sfs
# cp -p --parents /usr/occam/bin/pdcpshim \
/etc/ld.so.cache /lib/libdaemon.so.1 /usr/lib/libdaemon.so.1 \
/usr/occam/lib/libdaemon.so.1 /lib/libc.so.0 \
/lib/ld-uClibc.so.0 \
/rw
# cd /
# strace -fF chroot /rw pdcpshim
- execute the command in aufs after copying files.
mount /rw, /sfs and aufs.
# cd /newroot
# touch /usr/occam/bin/pdcpshim \
/etc/ld.so.cache /lib/libdaemon.so.1 /usr/lib/libdaemon.so.1 \
/usr/occam/lib/libdaemon.so.1 /lib/libc.so.0 \
/lib/ld-uClibc.so.0
# strace pdcpshim
J. R. Okajima
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p