summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/sdk/files/rust/hello/git@git.enea.com:linux
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-05-19 15:51:54 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-22 14:36:49 +0100
commit522af6e5cee5b3434ab3a19ad8d98c9977be249c (patch)
tree458c306d5baa5e0938b400dbc2e86cf75e92f0a0 /meta/lib/oeqa/sdk/files/rust/hello/git@git.enea.com:linux
parent94019980ea12c603ba242f4a547e32d6aabd5192 (diff)
downloadpoky-522af6e5cee5b3434ab3a19ad8d98c9977be249c.tar.gz
rust: Use patchelf in place of chrpath to edit rpaths
chrpath has limitations e.g. the original rpath in ELF have to bigger in size than the one being edited into it by chrpath, some toolchains do not use RPATH but emit the RUNPATHs into ELF files and chrpath is not able to handle the runpaths, this is the case with mips and pp32 build of rust, especially when using clang compiler to build them. patchelf can do more: Modify RUNPATH entries Add RPATH/RUNPATH where none existed Set longer paths than the original Convert between RPATH and RUNPATH (From OE-Core rev: 22b903f6620455e142e836412d3f7f6a4f03bea7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk/files/rust/hello/git@git.enea.com:linux')
0 files changed, 0 insertions, 0 deletions