dbus-daemon statically linked with libdbus-1?
walters at verbum.org
Wed Jun 4 12:48:45 PDT 2014
On Wed, Jun 4, 2014, at 12:29 PM, Daniel P. Berrange wrote:
> 3) Use symbol versioning and export the private functions with
> a versioned symbol postfix. eg dbus_foo at DBUS_PRIVATE_X.Y.Z.
> Makes it pretty clear to apps developers that they shouldn't
> use that symbol, and ensures that you must have a matching
> version of dbus-daemon + libdbus.so. To make it extra clever
> you could make use of a random hash generated at build time
> instead of version number, so you can only ever use exact
> matched dbus-daemon + libdbus.so from the same build
Yeah, I could imagine that one working well. Presumably you have
some sample automake/linker scripts out there for this? If so,
can you link?
One minor downside of this is I can imagine some ABI checking
tools (e.g. http://upstream-tracker.org/ ) completely losing
their marbles with it unless they were taught to search for
the _PRIVATE_ string or so.
More information about the dbus