On Thu, Jul 18, 2024 at 09:53:28PM -0500, Ryan Eatmon via
lists.yoctoproject.org wrote:
> Make sure that llvm-config does not have any absolute build paths within
> the compiled binary.
>
> Signed-off-by: Ryan Eatmon <[email protected]>
> ---
> meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb
> b/meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb
> index 4b990b7f..395651d3 100644
> --- a/meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb
> +++ b/meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb
> @@ -72,6 +72,10 @@ do_compile:class-native() {
> }
>
> do_compile:class-nativesdk() {
> + # Fix for buildpaths error referring to TMPDIR
> + sed -i 's:@LLVM_SRC_ROOT@::g'
> ${S}/tools/llvm-config/BuildVariables.inc.in
> + sed -i 's:@LLVM_OBJ_ROOT@::g'
> ${S}/tools/llvm-config/BuildVariables.inc.in
Yeah, I was also looking at patching this .in file, but got pre-occupied with
upstream breakage lately... Thanks for taking care of this.
> cd ${LLVM_BUILD_DIR}
>
> # Fix libdir for multilib
> --
> 2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15461):
https://lists.yoctoproject.org/g/meta-arago/message/15461
Mute This Topic: https://lists.yoctoproject.org/mt/107429092/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-