[gnome-continuous-yocto/gnomeostree-3.28-rocko: 996/8267] pseudo: remove rpath from libpseudo.so

commit 8f7f8f7cfa80dc2e1af721388946a28cfdaca1dc
Author: Ed Bartosh <ed bartosh linux intel com>
Date:   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 linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-devtools/pseudo/pseudo.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
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/.
+       chrpath -d ${D}${prefix}/lib/pseudo/lib*/libpseudo.so
 BBCLASSEXTEND = "native nativesdk"

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]