[yocto] eglibc-2.13: backport sotruss from eglibc-2.16

Elvis Dowson elvis.dowson at gmail.com
Sun Dec 9 10:58:44 PST 2012


Hi Khem,
                 I get the following error while attempting to backport support for the older eglibc-2.13 recipe and gcc-4.5.4, to make it work with the latest poky master.

I got the image to build and execute correctly, temporarily by commenting out the parts relating to sotruss, and it worked on my powerpc 440 target with softfloat.

Now, I just want to update the eglibc-2.13 recipe, so that it works correctly with poky master. I patched the eglibc-2.13 sources and it builds the required files.

However, during the installation phase, I get a problem, in that the scripts attempt to install libsotruss.so to the root folder on my host machine, instead of the yocto build folder:

/usr/bin/install -c /tool/yocto/poky/build/tmp/work/ppc405-poky-linux/eglibc/2.13-r32/build-powerpc-poky-linux/elf/sotruss-lib.so /sotruss-lib.so.new
/usr/bin/install -c /tool/yocto/poky/build/tmp/work/ppc405-poky-linux/eglibc/2.13-r32/build-powerpc-poky-linux/elf/sprof /tool/yocto/poky/build/tmp/work/ppc405-poky-linux/eglibc/2.13-r32/image/usr/bin/sprof.new

(cd /tool/yocto/poky/build/tmp/work/ppc405-poky-linux/eglibc/2.13-r32/build-powerpc-poky-linux/elf/.; /tool/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/libexec/ppc405-poky-linux.gcc-cross-initial/gcc/powerpc-poky-linux/4.5.4/objdump -h dl-load.o dl-cache.o dl-lookup.o dl-object.o dl-reloc.o dl-deps.o dl-runtime.o dl-error.o dl-init.o dl-fini.o dl-debug.o dl-misc.o dl-version.o dl-profile.o dl-conflict.o dl-tls.o dl-origin.o dl-scope.o dl-execstack.o dl-open.o dl-close.o dl-trampoline.o dl-support.o dl-iteratephdr.o dl-addr.o enbl-secure.o dl-profstub.o dl-libc.o dl-sym.o dl-tsd.o dl-sysdep.o dl-vdso.o dl-machine.o dl-iteratephdr.os dl-addr.os dl-profstub.os dl-libc.os dl-sym.os dl-tsd.os unwind-dw2-fde-glibc.os dl-vdso.os framestate.os unwind-pe.os rtld.os dl-load.os dl-cache.os dl-lookup.os dl-object.os dl-reloc.os dl-deps.os dl-runtime.os dl-error.os dl-init.os dl-fini.os dl-debug.os dl-misc.os dl-version.os dl-profile.os dl-conflict.os dl-tls.os dl-origin.os dl-scope.os dl-execstack.os dl-caller.os dl-open.os dl-close.os dl-trampoline.os dl-sysdep.os dl-environ.os dl-minimal.os dl-brk.os dl-sbrk.os dl-start.os dl-machine.os soinit.os sofini.os interp.os static-stubs.o cache.o readlib.o xmalloc.o xstrdup.o chroot_canon.o sotruss-lib.os sotruss-lib.so) | \
	gawk '/\.gnu\.glibc-stub\./ { \
		  sub(/\.gnu\.glibc-stub\./, "", $2); \
		  stubs[$2] = 1; } \
		END { for (s in stubs) print "#define __stub_" s }' > /tool/yocto/poky/build/tmp/work/ppc405-poky-linux/eglibc/2.13-r32/build-powerpc-poky-linux/elf/stubsT
/usr/bin/install: cannot create regular file `/sotruss-lib.so.new': Permission denied

How can I get past this error?

Best regards,

Elvis Dowson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20121209/afa02b0d/attachment.html>


More information about the yocto mailing list