Multiple personalities
Daniel van Vugt
daniel.van.vugt at canonical.com
Thu Mar 26 07:34:57 UTC 2015
Guaranteed to work... unless we change a structure definition and it
gets say created by libmircommon.so.4 and then used by a function in
libmircommon.so.3.
But that hasn't happened yet, and probably won't.
On 26/03/15 15:19, Christopher James Halse Rogers wrote:
> On Mon, Mar 23, 2015 at 3:33 AM, Cemil Azizoglu
> <cemil.azizoglu at canonical.com> wrote:
>> Thanks Daniel for noticing this. I agree that there may be unforeseen
>> risks even though things seem to work. We should fix this ASAP,
>> preferably with a test case that screams when two versions are loaded
>> simultaneously. Bumping the priority of the bug so it gets proper
>> attention.
>
> This is guaranteed¹ to work, thanks to our symbol versioning. Everything
> is going to resolve the symbol it expects, and - as long as we're not
> mixing different versions - anything passed between DSOs will agree on
> the symbol.
>
> ¹: Modulo stupid non-idempotent globals, like protobuf
>
More information about the Mir-devel
mailing list