All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pseudo: remove rpath from libpseudo.so
@ 2016-06-17 15:17 Ed Bartosh
  2016-06-17 15:47 ` [PATCH v2] " Ed Bartosh
  0 siblings, 1 reply; 3+ messages in thread
From: Ed Bartosh @ 2016-06-17 15:17 UTC (permalink / raw)
  To: openembedded-core

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@linux.intel.com>
---
 meta/recipes-devtools/pseudo/pseudo.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc
index 0de7b36..59a44f1 100644
--- a/meta/recipes-devtools/pseudo/pseudo.inc
+++ b/meta/recipes-devtools/pseudo/pseudo.inc
@@ -128,6 +128,9 @@ do_install_append_class-nativesdk () {
 	if $make32; then
 		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
+	else
+		chrpath -d ${D}${prefix}/lib/pseudo/lib64/libpseudo.so
 	fi
 }
 
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-17 16:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-17 15:17 [PATCH] pseudo: remove rpath from libpseudo.so Ed Bartosh
2016-06-17 15:47 ` [PATCH v2] " Ed Bartosh
2016-06-17 16:55   ` Christopher Larson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.