| Summary: | non-deterministic shlibs providers | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Martin Jansa <Martin.Jansa> |
| Component: | core | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, richard.purdie |
| Version: | 1.4 | ||
| Target Milestone: | 1.7 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Martin Jansa
2013-06-07 20:42:29 UTC
I've added some changes to package.bbclass to http://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/shlib-providers it should implement: 1) RP1: We should perhaps limit shlibs to the default linker search paths? 2) RP2+PB: Warning/Error if two things provide the same shlibs and there is some pseudo code to describe the idea what I would like to do to implement: 3) Restrict possible providers to stuff included in dependencies Martin and I discussed this further on the mailing list. The principle is good but we need to work on the patches and its 1.6 material at this point. I've sent latest version of my patches to ML http://lists.openembedded.org/pipermail/openembedded-core/2014-January/088522.html it doesn't resolve all issues for this task, but at least those most important for us (webos). It's tested in meta-webos (backported to dylan), meta-webos-ports (backported to dora and master), my world builds from master. Firstly, we've added rpath support to shlibs: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=3ead62a57833e2a3fd25e592a754c3ecfcd77b3a which means that different libraries can coexist and only conflict if they really conflict. Secondly, we now have a new high level sanity check that checks if dependencies are all listed in build dependencies: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a202f8a66383787c899246c5fa14c862e5d7647d I believe that between the two things, this issue is now resolved. |