]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Wed, 20 Oct 2021 14:54:02 +0000 (22:54 +0800)
commit1cbf45e39e6a9d043691fb236946c6717dd666b7
tree6d038ce866fbba89737e800600dbe4a872493c39
parentc9203671d638edb6a063d7522b29b8a8e776c2f3
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: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
meta/recipes-devtools/pseudo/pseudo_git.bb