]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
clang: globally disable build-time RPATHs for reproducibility
authorRoss Burton <ross.burton@arm.com>
Mon, 15 Sep 2025 15:47:58 +0000 (16:47 +0100)
committerKhem Raj <raj.khem@gmail.com>
Thu, 2 Oct 2025 16:52:38 +0000 (09:52 -0700)
commite188fd44d08fb3909231729901e7bc92d0afc218
tree7fc610c1bffa9b6650420a23c4017a439e25de5d
parente476d1dedd7cd7a49bc37cd2ff2bcafe747603ec
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>
meta/recipes-devtools/clang/common-clang.inc
meta/recipes-devtools/clang/libcxx_git.bb
meta/recipes-devtools/clang/lld_git.bb