Hello,

On 08/11/2022 22:04:44-0500, Maxime Roussin-Bélanger wrote:
> From: Maxime Roussin-Bélanger <[email protected]>
> 
> llvm-config is copied from native to target sysroot, it shouldn't be
> allowed to use target shared libraries when it loads.
> 
> Remove all runpath so it uses shared library from host system since
> native llvm-config is compiled with hosttools compiler.
> 

I believe this is the cause of:
https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/6139/steps/32/logs/stdio

I'm currently checking

> Signed-off-by: Maxime Roussin-Bélanger <[email protected]>
> ---
>  meta/recipes-graphics/mesa/mesa.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-graphics/mesa/mesa.inc 
> b/meta/recipes-graphics/mesa/mesa.inc
> index 67cfb4f6c1..abc2c3f4c4 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -61,6 +61,7 @@ do_configure:prepend () {
>       if [ -e ${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE} ]; then
>               cp ${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE} 
> ${STAGING_BINDIR}
>               cp ${STAGING_BINDIR_NATIVE}/llvm-config ${STAGING_BINDIR}
> +             chrpath -d ${STAGING_BINDIR}/llvm-config
>       fi
>  }
>  
> -- 
> 2.36.0
> 

> 
> 
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#173057): 
https://lists.openembedded.org/g/openembedded-core/message/173057
Mute This Topic: https://lists.openembedded.org/mt/94906155/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to