[OE-core] [poky] Proposed Multilib Implementation Brainstorming

Esben Haabendal eha at dev.doredevelopment.dk
Wed Apr 6 12:16:38 UTC 2011


Richard Purdie <richard.purdie at linuxfoundation.org> writes:

> On Wed, 2011-04-06 at 09:08 +0200, Esben Haabendal wrote:
>> Richard Purdie <richard.purdie at linuxfoundation.org> writes:
>> 
>> > One of the items on our post 1.0 schedule is multilib and we need a plan
>> > of implementation. I've been thinking about this for a while and at
>> > least have some ideas how some of the issues can be handled.
>> > ....
>> > Does this make sense to everyone, are there any questions/ objections/
>> > concerns/ things I've missed?
>> 
>> Which actual OE use-cases justify this kind of addition to OE?
>
> Several people wanting to use OECore have a requirement of multilib
> support.

Just out of curiosity, could you come with some examples of such
people or projects?

> The typical embedded use case is where you have one main
> application which you might want to run in some kind of large memory
> mode or with some special optimisation (think a database engine) whilst
> the rest of the system is "standard". This requires the ability to mix
> different libraries.
>
>> I know it is on the Yocto post 1.0 schedule, but is it actually a good
>> thing for OE?  Maintaining OE recipes is clearly not going to get any
>> easier with multilibs support.
>
> As detailed in the proposal you will see that the complexity added is
> minimal. It requires a simple enhancement to BBCLASSEXTEND which is
> likely desirable for other reasons too and that is the only real bitbake
> change required. For the metadata, individual recipes remain unaffected
> and also the core conf files are unchanged too.

I thought that all recipes (fx. library recipes) involved in a multilib
build must have the appropriate multilib parts put in BBCLASSEXTEND, and
after that, anybody touch that recipe is suddenly faced with having to
take care not to break multilib builds (which most developers probably
will not really care for).

> The toolchain dependency changes will be the only change affecting
> users at the recipe level and most of the class/machine configuration
> will be opt in by anyone using multilib. The only other invasive
> change is the package manager integration. For rpm, it has good
> support for multilib already and we're just enabling that. For opkg,
> we still need to determine the best approach but the simplistic
> approach I mentioned will probably suffice and anyone wanting true
> support at the package manager level can use rpm.
>
> For day to day recipe maintenance I don't see much direct impact.

I guess time will show...

/Esben




More information about the Openembedded-core mailing list