[OE-core] [oe-core][PATCH 1/1] allarch: do not set baselib

Slater, Joseph joe.slater at windriver.com
Wed Jan 3 21:46:44 UTC 2018


Currently, we do have to provide qemuwrapper with LD_LIBRARY_PATH.  We could hard-code all possible paths into that and not use ${libdir} and ${base_libdir}.  (I tried it and it works.)  We could also create a couple of new variables, like original_base_libdir, that don't get clobbered by allarch.   Maybe qemuwrapper should be smart enough to compute LD_LIBRARY_PATH...

Joe

-----Original Message-----
From: Alexander Kanavin [mailto:alexander.kanavin at linux.intel.com] 
Sent: Wednesday, January 03, 2018 12:43 AM
To: Richard Purdie; Slater, Joseph; openembedded-core at lists.openembedded.org; BURTON, ROSS
Subject: Re: [OE-core] [oe-core][PATCH 1/1] allarch: do not set baselib

On 01/03/2018 12:45 AM, Richard Purdie wrote:
> Sorry, but I don't think this can work :/.
> 
> Do the sstate sig selftests pass with this change?
> 
> I appreciate this will make some things "work" but it will mean that 
> allarch packages rebuild for each architecture or multilib and that 
> isn't right either.
> 
> So we need a better solution here. Why do we need libdir paths to run 
> binaries anyway? Is this a libexec issue? Perhaps the things in 
> question shouldn't be allarch?

I think Ross has spent some time developing a fix for this same issue, perhaps he can chime in?

Alex


More information about the Openembedded-core mailing list