[oe-commits] [openembedded-core] 91/94: pseudo: remove rpath from libpseudo.so

git at git.openembedded.org git at git.openembedded.org
Wed Jun 29 18:37:55 UTC 2016


rpurdie pushed a commit to branch krogoth
in repository openembedded-core.

commit d2d2b63abeb38635dcb83d94583d3b5770150bfa
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Fri Jun 17 18:47:23 2016 +0300

    pseudo: remove rpath from libpseudo.so
    
    Setting rpath causes clash of host and sdk libc and makes
    pseudo to crash with relocation error: libpthread.so.0:
        symbol __libc_vfork, version GLIBC_PRIVATE not defined
        in file libc.so.6 with link time reference
    
    Removing rpath fixes this as it makes pseudo to use only host
    pthread and libc.
    
    [YOCTO #9761]
    
    (From OE-Core rev: be5c943e82a21d3ef2dfaaa5b41b6a2814f2fb19)
    
    Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    (cherry picked from commit 8f7f8f7cfa80dc2e1af721388946a28cfdaca1dc)
    Signed-off-by: Armin Kuster <akuster at mvista.com>
---
 meta/recipes-devtools/pseudo/pseudo.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc
index 0de7b36..16c57c9 100644
--- a/meta/recipes-devtools/pseudo/pseudo.inc
+++ b/meta/recipes-devtools/pseudo/pseudo.inc
@@ -129,6 +129,7 @@ do_install_append_class-nativesdk () {
 		mkdir -p ${D}${prefix}/lib/pseudo/lib
 		cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/.
 	fi
+	chrpath -d ${D}${prefix}/lib/pseudo/lib*/libpseudo.so
 }
 
 BBCLASSEXTEND = "native nativesdk"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list