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

git at git.openembedded.org git at git.openembedded.org
Fri Jun 17 16:15:22 UTC 2016


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

commit be5c943e82a21d3ef2dfaaa5b41b6a2814f2fb19
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]
    
    Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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