]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
clang: globally disable build-time RPATHs for reproducibility
authorRoss Burton <ross.burton@arm.com>
Tue, 7 Oct 2025 10:42:44 +0000 (11:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Oct 2025 09:27:02 +0000 (10:27 +0100)
commitacc8c5c89c0f1bff3413d2301a65afd89bd0d9ff
treefb267a931246ffca062fb87340682109d8ac27e4
parentf42f0185bd00e68ecc86a930487f21fc86214cfa
clang: globally disable build-time RPATHs for reproducibility

Various bits of the LLVM project set the build RPATH in a way that means
we have non-deterministic binaries even though we should always be using
relative paths.

This clearly is not working as some of the binaries get rewritten on
install and have large string paddings that correlate with erased build
paths.

So that we don't have to disable RPATHs in every recipe, just do it once
in the common include file and remove the existing recipe-specific
assignments that are now not needed.

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