On 09/10/2015 04:51 PM, Stephen Gallagher wrote:

>> How do you propose to resolve symbol conflicts if both the system
>> library and the bundled library are loaded into the same process? 
>>  The
>> current ELF linking scheme lacks good support for bundling libraries
>> whose exported symbols have not been mangled in some way.
>>
> 
> I expect such cases to be rare and dealt with on an as-needed basis.
> Generally, projects either bundle or don't. The fuzzy area might be
> with plugins, I guess.

Not just plugins, anything that happens to compile the bundled library
into a DSO (either by itself, or as part of a larger sub-component) will
likely leak colliding symbols, unless special care is taken not to.

If we expect more bundling, then we need an alternative to the current
ELF linking model, IMHO.

-- 
Florian Weimer / Red Hat Product Security
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to