]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lldb: don't build rpaths into binaries
authorRoss Burton <ross.burton@arm.com>
Wed, 23 Jul 2025 12:24:48 +0000 (13:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Jul 2025 17:00:36 +0000 (18:00 +0100)
commitd96e0458b696a7359d310cbe112c5dc2fc60f97d
tree8e6d3b5c0384c72691b663367504a63f6a14fd45
parent1a37bb2f0bbdbd599e1d5967eae1ecde4eff6a80
lldb: don't build rpaths into binaries

LLDB defaults to adding rpaths into the binaries which are then stripped
by CMake on install.

However, this rpath removal is implemented by editing the binary instead
of relinking at install time, so the final binary will have an entry in
the dynstr section which is all nulls but is as long as the build path.

Obviously this breaks reproducibility, so disable the use of rpaths in
LLDB to remove this problem.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/clang/lldb_git.bb