buildtools-extended-tarball: add ldd
PATCH 1/1 buildtools-extended-tarball: add ldd
uninative.bbclass decides whether to enable itself by comparing ldd --version against UNINATIVE_MAXGLIBCVERSION. buildtools-extended ships its own gcc and glibc, and native recipes built with it link against that glibc, but it ships no ldd, so the check reads the host's ldd instead. On a host whose glibc is newer than uninative's, uninative is disabled even though the build never uses the host glibc, and native sstate is then keyed to the host distro instead of "universal".
Ship ldd so the check sees the glibc the build actually uses.
Reviewed-by Tibault Damman <[email protected]>
Signed-off-by Lander Noterman <[email protected]>
--- meta/recipes-core/meta/buildtools-extended-tarball.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/meta/buildtools-extended-tarball.bb +1 -0
@@ -28,6 +28,7 @@ TOOLCHAIN_HOST_TASK += "\ nativesdk-libtool \ nativesdk-pkgconfig \ nativesdk-glibc-utils \ + nativesdk-ldd \ nativesdk-glibc-gconvs \ nativesdk-libxcrypt-dev \ "
Signature · 1 line
2.55.0