diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-06-17 18:47:23 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-17 17:14:55 +0100 |
commit | 8f7f8f7cfa80dc2e1af721388946a28cfdaca1dc (patch) | |
tree | c600081d297e96e76e50433b3a1f485d6dd87d22 /meta | |
parent | 3037e0df9b1a0e1cb5332ab8026245b61515fc33 (diff) | |
download | poky-8f7f8f7cfa80dc2e1af721388946a28cfdaca1dc.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | 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 0de7b3615f..16c57c9caa 100644 --- a/meta/recipes-devtools/pseudo/pseudo.inc +++ b/meta/recipes-devtools/pseudo/pseudo.inc | |||
@@ -129,6 +129,7 @@ do_install_append_class-nativesdk () { | |||
129 | mkdir -p ${D}${prefix}/lib/pseudo/lib | 129 | mkdir -p ${D}${prefix}/lib/pseudo/lib |
130 | cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/. | 130 | cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/. |
131 | fi | 131 | fi |
132 | chrpath -d ${D}${prefix}/lib/pseudo/lib*/libpseudo.so | ||
132 | } | 133 | } |
133 | 134 | ||
134 | BBCLASSEXTEND = "native nativesdk" | 135 | BBCLASSEXTEND = "native nativesdk" |