]> code.ossystems Code Review - openembedded-core.git/commit
nativesdk-pseudo: Fix to work with glibc 2.34 systems
authorHongxu Jia <hongxu.jia@windriver.com>
Thu, 26 Aug 2021 05:03:09 +0000 (22:03 -0700)
committerSteve Sakoman <steve@sakoman.com>
Tue, 19 Oct 2021 14:04:49 +0000 (04:04 -1000)
commitb7d269c84838f646b2915e7ff66d81db0bc16b9e
tree19ae94e69bc6690c63dbed10f9832f587afaa2b1
parent63afcafef78f3d3b95c0d0c9746f9d627b6291c3
nativesdk-pseudo: Fix to work with glibc 2.34 systems

Since commit [df313aa810 pseudo: Fix to work with glibc 2.34
systems] applied, it fixed native only. And nativesdk has
the similar issue

Tweak library search order, make prebuilt lib ahead of recipe lib,
after apply the fix:
...
$ readelf -a lib/pseudo/lib64/libpseudo.so | grep 'Shared library'
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library:[libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d6d116b5db78645958ea30be3d0572e0f6d7bd92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
meta/recipes-devtools/pseudo/pseudo_git.bb