Re: [OE-core] [PATCH] mesa: fix runpath with native llvm-config in target sysroot

2022-11-09 Thread Vincent Davis Jr
Haven't tested, but seems as above might fix the other gallium-llvm mesa issue I ran into when build for an x86_64 MACHINE. # meson configure fails when the llvm-config --shared-mode command fails to find libs in ${STAGING_LIBDIR} # Temp solution copy files from recipe-sysroot/usr/lib64 to reci

Re: [OE-core] [PATCH] mesa: fix runpath with native llvm-config in target sysroot

2022-11-09 Thread Maxime Roussin-Bélanger
On Wed, Nov 9, 2022 at 4:23 PM Alexandre Belloni < alexandre.bell...@bootlin.com> wrote: > On 09/11/2022 16:04:11-0500, Maxime Roussin-Bélanger wrote: > > Hi, (sorry for 2nd message Alex, forgot to cc the list) > > > > On Wed, Nov 9, 2022 at 3:48 PM Alexandre Belloni < > > alexandre.bell...@bootli

Re: [OE-core] [PATCH] mesa: fix runpath with native llvm-config in target sysroot

2022-11-09 Thread Alexandre Belloni via lists.openembedded.org
On 09/11/2022 16:04:11-0500, Maxime Roussin-Bélanger wrote: > Hi, (sorry for 2nd message Alex, forgot to cc the list) > > On Wed, Nov 9, 2022 at 3:48 PM Alexandre Belloni < > alexandre.bell...@bootlin.com> wrote: > > > Hello, > > > > On 08/11/2022 22:04:44-0500, Maxime Roussin-Bélanger wrote: > >

Re: [OE-core] [PATCH] mesa: fix runpath with native llvm-config in target sysroot

2022-11-09 Thread Maxime Roussin-Bélanger
Hi, (sorry for 2nd message Alex, forgot to cc the list) On Wed, Nov 9, 2022 at 3:48 PM Alexandre Belloni < alexandre.bell...@bootlin.com> wrote: > Hello, > > On 08/11/2022 22:04:44-0500, Maxime Roussin-Bélanger wrote: > > From: Maxime Roussin-Bélanger > > > > llvm-config is copied from native to

Re: [OE-core] [PATCH] mesa: fix runpath with native llvm-config in target sysroot

2022-11-09 Thread Alexandre Belloni via lists.openembedded.org
Hello, On 08/11/2022 22:04:44-0500, Maxime Roussin-Bélanger wrote: > From: Maxime Roussin-Bélanger > > 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 s

[OE-core] [PATCH] mesa: fix runpath with native llvm-config in target sysroot

2022-11-08 Thread Maxime Roussin-Bélanger
From: Maxime Roussin-Bélanger 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. Signed-off-by: Max