Skip to content
Commit 099c761f authored by Richard Purdie's avatar Richard Purdie
Browse files

rust: Avoid buildtools+uninative issues with glibc symbols mismatches



If we use an external buildtools tarball, that combined with uninative results
in build failures with symbol mismatches. This was tracked down to the prebuilt
rust binaries that are downloaded. The libc/loader used to load them is used to
execute target binaries/libraries and therefore anything with built with a newer
libc would fail.

Add code to use patchelf to change the interpreter to our own uninative one if
present which ensures the newer libc and loader are used, hence avoiding the issue.

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 842cba18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment