]> git.ipfire.org Git - thirdparty/openembedded/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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Aug 2021 10:53:22 +0000 (11:53 +0100)
commitd6d116b5db78645958ea30be3d0572e0f6d7bd92
treeea79acb58161ec3efe416f5b2c28ca00de7541ca
parentb4cfb0b0dab6bc7f43bab04cdf4f16c145be0223
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>
meta/recipes-devtools/pseudo/files/older-glibc-symbols.patch
meta/recipes-devtools/pseudo/pseudo_git.bb