pseudo: remove rpath from libpseudo.so
PATCH 1/1 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]
--- meta/recipes-devtools/pseudo/pseudo.inc | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-devtools/pseudo/pseudo.inc +3 -0
@@ -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 }
Signature · 1 line
2.1.4
PATCH v2 1/1 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]
--- meta/recipes-devtools/pseudo/pseudo.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/pseudo/pseudo.inc +1 -0
@@ -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"
Signature · 1 line
2.1.4
Quoted 11 lines · Ed Bartosh
Setting rpath causes clash of host and sdk libc and makes pseudo to crash with relocation error: libpthread.so.0:
symbol__libc_vfork, versionGLIBC_PRIVATEnot defined in file libc.so.6 with link time referenceRemoving rpath fixes this as it makes pseudo to use only host pthread and libc.
[YOCTO #9761]
Signed-off-by Ed Bartosh <[email protected]>
Thanks for your work on this, sorry about the hassle (it was my pseudo ldflags patch that broke it, unanticipated consequences).
Signature · 5 lines
Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics