Re: liblockdep soname versioning

From: Sasha Levin
Date: Tue Apr 01 2014 - 09:19:29 EST

On 04/01/2014 08:56 AM, Josh Boyer wrote:
Hi Sasha,

We've had a request [1] to package up liblockdep in Fedora. Looking
things over, I noticed the library isn't actually versioned at all and
instead just builds a plain .so file. That's likely fine during
development of it, but if distros are to ship it for broader use then
it would be a good idea to specify the soname and use a versioned .so.

The makefile already has LIBLOCKDEP_VERSION defined. Would it be
possible to use this as the soname and version number? Then could be the normal symlink to the versioned .so
( in this case).




Sure! I never expected it to live outside the kernel tree as a separate
package, but I'm happy to accommodate for that.

I think that I'll just match the version number with the kernel version
since what mostly matters is what you have in kernel/lockdep.c, so for
example, right now we'll have ''. Sounds good?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at