<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Khem,<div>                 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.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>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:</div><div><div><br></div><div>/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 <font color="#ff2600">/sotruss-lib.so.new</font></div><div>/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</div></div><div><br></div><div><div>(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) | \</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>gawk '/\.gnu\.glibc-stub\./ { \</div><div><span class="Apple-tab-span" style="white-space:pre">              </span>  sub(/\.gnu\.glibc-stub\./, "", $2); \</div><div><span class="Apple-tab-span" style="white-space:pre">               </span>  stubs[$2] = 1; } \</div><div><span class="Apple-tab-span" style="white-space:pre">            </span>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</div><div>/usr/bin/install: cannot create regular file `/sotruss-lib.so.new': Permission denied</div></div><div><br></div><div>How can I get past this error?</div><div><br></div><div>Best regards,</div><div><br></div><div>Elvis Dowson</div></body></html>